An iOS worksheet which demonstrates NotificationCenter and the delegate pattern. Made for the Mobile Developers of Berkeley iOS Training Program
It covers
- The delegate design pattern for passing information
- NSNotificationCenter
- Accounting for the keyboard on physical devices
The worksheet is on the master branch. All UI elements have been created for you. Your task is to implement the appropriate delegates and make sure the keyboard won't hide anything important when it shows up.
To fill in the worksheet
- Create a delegate for the
PeopleViewControllerso it can updateFavoritesViewController- Implement the delegate methods in
FavoritesViewController
- Implement the delegate methods in
- Use NotificationCenter to scroll the
PeopleViewControllerUITableViewwhen the keyboard appears
Solutions to the worksheet can be found on the solutions branch
UIResponder.keyboardWillHideNotificationandUIResponder.keyboardWillShowNotificationare the notifications you will need



