Reputation: 3433
What I did is creating a local folder named images and retrieving the images from the folder.
For that I am writing code UIImage imageNamed:@"image.jpg"
. But I need to get images using XML file dynamically.
How can I do this? Please post some code or link.
Upvotes: 1
Views: 196
Reputation: 10127
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.
Upvotes: 1