To test working of xml in iphone? -


hi can place both xml files , images xml file transports in xcode test working since don't have internet ? if can done , should path name xml coded in program , images typed in xml.?

nsstring *stringtoxml = [[nsbundle mainbundle] pathforresource:@"thexmldoc" oftype:@"xml"]; nsurl *xmlurl = [nsurl fileurlwithpath:stringtoxml]; 

using can xml documents resource folder , use them.

just substitute url in code variable xmlurl , should fine. same images, need make nsurl out of path resource.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -