Another UIViewController
In this section, you are going to create the BNRReminderViewController class. Eventually, this view controller will enable the user to pick a date to receive a reminder to be hypnotized. This reminder will take the form of a notification that will appear even if HypnoNerd is not running at the time.
Figure 6.6 BNRReminderViewController
Create a new Objective-C class (Command-N). Name it BNRReminderViewController and make it a subclass of NSObject.
In BNRReminderViewController.h, change the superclass to UIViewController.
@interface BNRReminderViewController : NSObject@interface BNRReminderViewController ...
Get iOS Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.