Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

11 Tabellenansichten erstellen und verwa... > 11.4 Rezept: Unterschiedliche Zellen... - Pg. 518

Kapitel 11 Tabellenansichten erstellen und verwalten - (void)applicationDidFinishLaunching:(UIApplication *)application { // Erstellt einen Tabellenansichtscontroller mit durchsichtigem // Hintergrund TableListViewController *tlvc = [[TableListViewController alloc] init]; tlvc.tableView.backgroundColor = [UIColor clearColor]; // Initialisiert den Navigationscontroller UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:tlvc]; nav.navigationBar.tintColor = COOKBOOK_PURPLE_COLOR; // Lädt das Hintergrundbild in eine Ansicht UIImageView *iv = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Backsplash.png"]] autorelease]; // Erstellt das Hauptfenster UIWindow *window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; [window addSubview:iv];