Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-07-2009, 10:53 AM   #21 (permalink)
hstaniloff
Registered Member
 
Join Date: Apr 2009
Location: Setauket, NY
Posts: 133
hstaniloff is on a distinguished road
Default

Quote:
Originally Posted by mnemonic_fx View Post
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!
hstaniloff is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 174,542
Threads: 93,724
Posts: 401,260
Top Poster: BrianSlick (7,954)
Welcome to our newest member, cavisboung
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:00 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.