Introducing LoginVC

The next step is to add the code that will drive the Shared List view. As mentioned previously, the custom class that will drive this view is called LoginVC. This class will handle the creation and authentication of a shared list (that is, user account). The header code involved is shown in Listing 16.9.

Listing 16.9 LoginVC.h

#import <UIKit/UIKit.h>@interface LoginVC : UIViewController <UITextFieldDelegate>@property (strong, nonatomic) IBOutlet UITextField *usernameTextField;@property (strong, nonatomic) IBOutlet UITextField *passwordTextField;@property (strong, nonatomic) IBOutlet UILabel *statusLabel;@property (strong, nonatomic) UIActivityIndicatorView *activityIndicatorView;@property (strong, ...

Get Learning Core Data for iOS: A Hands-On Guide to Building Core Data Applications 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.