Quote:
Originally Posted by mnemonic_fx
Okay first,
Code:
// There's no need to declare those other protocols
@interface SubscriptionDetailController : SecondLevelViewController <UINavigationControllerDelegate>
|
I thought you had to assign the UITableViewDelegate, UITableViewDataSource, in order to have a view create a table automatically without having to define an outlet to a XIB. No?
Quote:
If you want, this:
Code:
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
To be called, you need to assign the delegate:
Code:
[[myAppDelegate navController] setDelegate:subscriptionDetailViewController];
|
Hmmm.... Ok. [Trying to understand this assignment.] Should I include this assignment in the ViewDidLoad method? Or where? Thanks!