Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (42 sloc) 1.24 KB
//
// DTGridViewController.m
// DTKit
//
// Created by Daniel Tull on 19.04.2009.
// Copyright 2009 Daniel Tull. All rights reserved.
//
#import "DTGridViewController.h"
@implementation DTGridViewController
@synthesize gridView;
- (void)viewDidLoad {
[super viewDidLoad];
self.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
self.view.autoresizesSubviews = YES;
gridView = [[DTGridView alloc] initWithFrame:self.view.bounds];
self.gridView.autoresizingMask = self.view.autoresizingMask;
[self.view addSubview:self.gridView];
}
- (void)viewDidUnload {
self.gridView = nil;
}
- (void)dealloc {
[gridView release];
gridView = nil;
[super dealloc];
}
- (NSInteger)numberOfRowsInGridView:(DTGridView *)gridView {
return 0;
}
- (NSInteger)numberOfColumnsInGridView:(DTGridView *)gridView forRowWithIndex:(NSInteger)theIndex {
return 0;
}
- (CGFloat)gridView:(DTGridView *)gridView heightForRow:(NSInteger)rowIndex {
return 0.0f;
}
- (CGFloat)gridView:(DTGridView *)gridView widthForCellAtRow:(NSInteger)rowIndex column:(NSInteger)columnIndex {
return 0.0f;
}
- (DTGridViewCell *)gridView:(DTGridView *)gridView viewForRow:(NSInteger)rowIndex column:(NSInteger)columnIndex {
return nil;
}
@end
Something went wrong with that request. Please try again.