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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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 10-27-2009, 11:23 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: London, UK
Posts: 12
Default turning seismicXML into tabbar app

Hopefully an easy one:

1. I took seismicXML and changed bits and bobs until it was working nicely for my needs

2. Then I changed the applicationDidFinishLaunching from adding a navigationController and initiating the XML download and changed it to initiate a tabBarController with four associated navigationControllers, each of which push the view when initialised.

3. So far, so good - tabBarController working fine

4. Had to think what to do with the NSURLConnection, so I put it in viewDidLoad of the rootControllers. But the parser methods were in the appDelegate, so I had to tell the viewController to initiate the main appDelegate again.

5. So far, so good - the XML is being parsed, as I can see from some NSlogs

6. But, the table doesn't reload.

I can't get it to load the data it has.

I think the problem is that by initialising the appDelegate in my viewController viewDidLoad method, I am creating another instance of appDelegate, which therefore has lost its reference to the current viewController.

Am I even close with this diagnosis, doctor?

If so, what can I do about it?


Has anyone managed to use the seismicXML to do something similar?
eagerterrier is offline   Reply With Quote
Reply

Bookmarks

Tags
appdelegate, seismicxml, tabbarcontroller, viewcontroller

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: 352
18 members and 334 guests
ADY, Dani77, Duncan C, e2applets, Grinarn, HemiMG, Herbie, JasonR, linkmx, macquitzon216, mer10, Monstertaco, prchn4christ, Robiwan, sly24, Touchmint, twerner, zulfishah
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,881
Threads: 89,228
Posts: 380,760
Top Poster: BrianSlick (7,129)
Welcome to our newest member, macquitzon216
Powered by vBadvanced CMPS v3.1.0

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