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

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

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-24-2009, 03:25 PM   #15 (permalink)
hstaniloff
Registered Member
 
Join Date: Apr 2009
Location: Setauket, NY
Posts: 133
hstaniloff is on a distinguished road
Question

Quote:
Originally Posted by mnemonic_fx View Post
I'm not sure how did you implement it.

If the self.tableView is nil then it's not created / allocated yet.

But, in that case, the delegates shouldn't work, when you scroll it.

What do you mean by "thread" ?
Here is what my interface declaration looks:
Code:
@interface SubscriptionDetailController : SecondLevelViewController <UITableViewDelegate, UITableViewDataSource, UINavigationControllerDelegate>
I added UINavigationControllerDelegate protocol and have this method defined in my .m file:
Code:
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
{
	if ([viewController isKindOfClass:[UITableViewController class]])
	{
		UITableViewController *controller = (UITableViewController*)viewController;
		[controller.tableView reloadData];
	}
}
I just can't get this tableview to reload. I'm finding it hard to believe that I have to have a XIB file with an outlet defined just to get the table to reload.
hstaniloff is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,639
Threads: 94,102
Posts: 402,827
Top Poster: BrianSlick (7,990)
Welcome to our newest member, sCarlRodriguezj
Powered by vBadvanced CMPS v3.1.0

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