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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-22-2010, 07:59 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Location: MA
Posts: 126
nd049 is on a distinguished road
Default Reloading TableView data in TabBar app

Hi Everyone,

I am working on an update for my app so that it works with iOS 4 currently and i have hit a dead end. What I'm trying to do is have one of my tabs that is a UITableViewController parse an xml file each time the user clicks on the tab, so if the xml feed is updated on the server it will show up in the tableview. What I had in the 3.x app was

Code:
- (void)viewDidLoad {
	
	if ([shows count] == 0) {
		NSString * path = @"http://app.scarletfade.com/Shows.rss";
	    [self parseXMLFileAtURL:path];
	}
      [super viewDidLoad];
what I've tried doing that has failed:

Code:
[showsTable reloadData];
in the viewDidLoad method as well...

If anybody has any suggestions for me I would appreciate it!
nd049 is offline   Reply With Quote
Old 06-22-2010, 08:11 PM   #2 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: dallas
Posts: 219
gud4nuthin is on a distinguished road
Default

put reload table in viewwillAppear
gud4nuthin is offline   Reply With Quote
Reply

Bookmarks

Tags
uitableview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 334
8 members and 326 guests
anothermine, Chickenrig, Domele, givensur, heshiming, michaelhansen, PixelInteractive, Sloshmonster
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,892
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:18 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0