I have noticed that when adding a viewController with interface builder and a nib,
That I don't have to call initWithNibName for it to pick up the associated nib, I can just call init!
Any idea why?
ie.
This:
NotificationManagementController *notificationView = [[NotificationManagementController alloc] initWithNibName:@"NotificationManagementController" bundle:nil andCurrentNotifications:nil];
and This:
NotificationManagementController *notificationView = [[NotificationManagementController alloc] init];
Both seem interchangeable....
Thus if I then call these line of code:
notificationView.delegate = self;
notificationView.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentViewController:notificationView animated:YES completion:NULL];
I see all changes in the nib.