iphone Programming Glossary: item.tag
How to make UITabBarController load view controllers lazily? http://stackoverflow.com/questions/1197130/how-to-make-uitabbarcontroller-load-view-controllers-lazily nil currentViewController viewWillAppear animated void tabBar UITabBar tabBar didSelectItem UITabBarItem item switch item.tag case kView_First if firstViewController nil MyFirstViewController viewController MyFirstViewController alloc initWithNibName..
passing the value from one class to other class http://stackoverflow.com/questions/13602840/passing-the-value-from-one-class-to-other-class . void tabBar UITabBar tabBar didSelectItem UITabBarItem item NSLog @ Tabbar selected itm d item.tag switch item.tag case 0 appDelegate AppDelegate UIApplication sharedApplication delegate NotesTable crashNotInvolvingObj11.. . void tabBar UITabBar tabBar didSelectItem UITabBarItem item NSLog @ Tabbar selected itm d item.tag switch item.tag case 0 appDelegate AppDelegate UIApplication sharedApplication delegate NotesTable crashNotInvolvingObj11 NotesTable NSEntityDescription..
How to set the Tab bar item 1 to be selected by default in iphone? http://stackoverflow.com/questions/2325780/how-to-set-the-tab-bar-item-1-to-be-selected-by-default-in-iphone i do for that here is my code void tabBar UITabBar tabBar didSelectItem UITabBarItem item NSLog @ didSelectItem d item.tag self activateTab item.tag void activateTab int index switch index case 1 self.tab1ViewController tab1 alloc initWithNibName.. my code void tabBar UITabBar tabBar didSelectItem UITabBarItem item NSLog @ didSelectItem d item.tag self activateTab item.tag void activateTab int index switch index case 1 self.tab1ViewController tab1 alloc initWithNibName @ tab1 bundle nil self.view..
|