If I have an array of UIImage like so:
newImageArray = [UIImage(named:"Red.png")!,
UIImage(named:"Green.png")!,
UIImage(named:"Blue.png")!, UIImage(named:"Yellow.png")!]
How can I extract or determine the filename of an image of a certain index later on? For example:
println("The first image is \(newImageArray[0])")
Instead of returning a readable filename, it returns:
The first image is <UIImage: 0x7fe211d2b1a0>
Can I convert this output into readable text, or is there a different method of extracting filenames from UIImage arrays?