I have a program that will be grabbing a image from our server for the app, however we want to save the image onto the iOS app for caching purposes.
The url would be similar to this.
http://www.example.com/image/app_name/mypicture.png
I need a way to get the image name (mypicture) and the extension (.png) into 2 different strings to save it.
How would I accomplish this using a NSscanner?
Thanks