Please note, this blog entry is from a previous course. You might want to check out the current one.
Lecture #5 starts with an introduction to text views and – new to iOS 7 – text storages and TextKit followed by a short demo.
The view-controller life cycle consists of the following steps:
- the view gets instantiated e.g. from storyboard
- awakeFromNib is called, which you could compare to init
- the outlets get set
- viewDidLoad is called, which can be used for basic setups
- geometry is determined
- viewWillLayoutSubviews and viewDidLayoutSubviews are called
- viewWillAppear and viewDidAppear are called
- viewWillLayoutSubviews and viewDidLayoutSubviews are called
- viewWillDisappear and viewDidDisappear are called
- didReceiveMemoryWarning is called when memory gets low
Continue reading “cs193p – Lecture #5 – View Controller Lifecycle”