tags:

views:

26

answers:

1
hi i am new to iPhone.what i did is creating a local folder named images and retrieving the images from the folder.For that i am wrting code `UIImage imageNamed:@"image.jpg"`.But i need to get images using xml file dynamically how can i done this. pls post some code or link.Thank u very much in advance.
+1  A: 

You could probably use an XML parsing framework that reads your XML file and creates an NSSet or something similar filled with your images.

An alternative could be using JSON instead of XML (faster, less overhead). I made some good experiences with json-framework.

Sebastian Wramba
how to use json pls post some link or example on that
MaheshBabu
Without knowing, I just clicked through the pages of the link I posted in my answer and found that Wiki of the json-framework: http://github.com/stig/json-framework/wiki/FrequentlyAskedQuestions
Sebastian Wramba