Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.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, 07:16 AM   #3 (permalink)
peterbrowse
Registered Member
 
Join Date: May 2009
Posts: 25
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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Online Users: 255
20 members and 235 guests
bbc z, benoitr007, cparker101, csnplt, donbhar, dre, georgeburns, icordoba, iTrackiGiveaway, MrMattMac, numnEsoff, Nuncha, pcgeek, penjettti, Sara Paul, scotopia, SecurityAVZ, shan, _nivek
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 24,268
Threads: 39,062
Posts: 171,293
Top Poster: smasher (2,575)
Welcome to our newest member, SecurityAVZ
Powered by vBadvanced CMPS v3.1.0

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