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

Thread: XML Parser Help
View Single Post
Old 06-26-2009, 08:16 AM   #3 (permalink)
peterbrowse
Registered Member
 
Join Date: May 2009
Posts: 37
Default

Quote:
Originally Posted by timle8n1 View Post
Perhaps you should show this dialog like you are and use another method of the NSXMLParser to continue your application if it is available.

- (void)parserDidEndDocumentNSXMLParser *)parser

What causes your app to move forward and try to use the array now?

Until this method is called perhaps you should just present a UIActivityIndicatorView.
I managed to fix it by setting the array that was in question to 0 if it passed through the error function which meant that it could pass through the entire loading function then report no connection, alert view displays correctly now.

Thanks for your thoughts though
peterbrowse is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,688
Threads: 89,160
Posts: 380,407
Top Poster: BrianSlick (7,110)
Welcome to our newest member, mary3chil
Powered by vBadvanced CMPS v3.1.0

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