¡@

Home 

2014/10/15 ¤U¤È 10:11:47

iphone Programming Glossary: mysecondviewcontroller

How to make UITabBarController load view controllers lazily?

http://stackoverflow.com/questions/1197130/how-to-make-uitabbarcontroller-load-view-controllers-lazily

happens on tabBar didSelectItem It looks something like this MyTabBarController.h @class MyFirstViewController @class MySecondViewController @class MyThirdViewController @interface MyTabBarController UIViewController UITabBarDelegate IBOutlet UIView placeholderView.. UITabBarDelegate IBOutlet UIView placeholderView IBOutlet UITabBar tabBar MyFirstViewController firstViewController MySecondViewController secondViewController MyThirdViewController thirdViewController UIViewController currentViewController @property nonatomic.. currentViewController @property nonatomic retain MyFirstViewController firstViewController @property nonatomic retain MySecondViewController secondViewController @property nonatomic retain MyThirdViewController thirdViewController void switchToView UIViewController..

Why is there no autorelease pool when I do performSelectorInBackground:?

http://stackoverflow.com/questions/929485/why-is-there-no-autorelease-pool-when-i-do-performselectorinbackground

controller viewControllers objectAtIndex vcIndex switch vcIndex case 0 c MyFirstViewController class break case 1 c MySecondViewController class break default NSLog @ unknown index for loading view controller d vcIndex error break if NSNull controller NSNull..