emailconfirmed, nsInternRO, nsInternRW, Administrators
3,356
edits
Line 53: | Line 53: | ||
// In order to show a new view, we'll create a new view controller instance | // In order to show a new view, we'll create a new view controller instance | ||
// and push it onto the views stack of the Navigation Controller | // and push it onto the views stack of the Navigation Controller | ||
RecipeDetailViewController *detailViewController = [[RecipeDetailViewController alloc] initWithStyle:UITableViewStyleGrouped]; | RecipeDetailViewController *detailViewController = | ||
[[RecipeDetailViewController alloc] initWithStyle:UITableViewStyleGrouped]; | |||
[self.navigationController pushViewController:detailViewController animated:animated]; | [self.navigationController pushViewController:detailViewController animated:animated]; | ||
[detailViewController release]; | [detailViewController release]; | ||
Line 119: | Line 120: | ||
-(void)applicationDidFinishLaunching:(UIApplication*)application { | -(void)applicationDidFinishLaunching:(UIApplication*)application { | ||
// (...) | // (...) | ||
animationTimer = [NSTimer scheduledTimerWithTimeInterval:(NSTimeInterval)((1.0 / 60.0) * animationFrameInterval) | |||
target:self | |||
selector:@selector(render) | |||
userInfo:nil | |||
repeats:TRUE]; | |||
} | } | ||
</source> | </source> |