With Xcode 4 you can develop applications for iPad and iPhone. Also, you can choose a different iOS target. Currently, the last release of iOS is 4.3 and when you will create a new project you will see: Now, the rootViewController property has been added with iOS 4. This means that when we going to test […]
Category / Objective-C

Apple suggests using an instance of NSFileManager class and avoid the static class method defaultManagerbecause it will return a singleton instance: no thread-safe: In Mac OS X v.10.5 and later you should consider using [[NSFileManager alloc] init] rather than the singleton method defaultManager. Using [[NSFileManager alloc] init] instead, the resulting NSFileManager instance is thread safe. […]

If you would like to avoid to set the background image of the main view controller through Interface Builder, you can use a different way and delete the UIImageview object from Interface Builder: You may use viewDidLoad as well but viewWillAppear avoid some flickering. With Xcode 3.2.5 is not possible to use the pattern yet.