awakeFromNib
is called when the controller itself is unarchived from a nib. viewDidLoad
is called when the view is created/unarchived. This distinction is especially important when the controller’s view is stored in a separate nib file.
More Related Contents:
- Storing custom objects in an NSMutableArray in NSUserDefaults
- UITableViewCell with UITextView height in iOS 7?
- Is it possible to prevent an NSURLRequest from caching data or remove cached data following a request?
- How to get the screen width and height in iOS?
- How to zoom in/out an UIImage object when user pinches screen?
- What are best practices for validating email addresses on iOS 2.0
- Fix warning “Capturing [an object] strongly in this block is likely to lead to a retain cycle” in ARC-enabled code
- Sizing a UILabel to fit?
- What is the entry point of swift code execution?
- Non-English default language for iOS App?
- How can I display a splash screen for longer on an iPhone?
- UIButton Touch and Hold
- Have a reloadData for a UITableView animate when changing
- How do I pan the image inside a UIImageView?
- How do I animate MKAnnotationView drop?
- How to make completely transparent navigation bar in iOS 7
- How to get notified when scrollToRowAtIndexPath finishes animating
- Does iOS 5 support blur CoreImage fiters?
- What is the most robust way to force a UIView to redraw?
- Is there a decent OpenGL text drawing library for the iPhone SDK?
- Measuring the pixel width of a string
- How to create backBarButtomItem with custom view for a UINavigationController
- Couldn’t UIToolBar be transparent?
- UIView animations canceling any touch input?
- WWDC 2010 Sample Code [closed]
- Accurate timing in iOS
- Trim audio with iOS
- How to detect microphone input permission refused in iOS 7
- Get a user-readable version of the class name in swift (in objc NSStringFromClass was fine)
- What are the numbers in the square brackets in NSLog() output?