Quote:
Originally Posted by BrianSlick
That doesn't mean it is the correct thing to do. Or, it could be correct thing to do, but you are using the arrays incorrectly elsewhere.
|
Here is my code
- (void)viewDidLoad {
[super viewDidLoad];
fastballs = [[[NSArray alloc] initWithObjects:@"Four-seam Fastball",@"Two-seam Fastball",@"Cutter",nil]retain];
[self setTitle:@"Fastball"];
}
- (void)dealloc {
[fastballs release];
[super dealloc];
}
I use the array for the setText and # of rows and navigation if that helps