I have 500mb of images in folders in assets. I don't know any of their names. Is there a way to access them...store them to Array and then display?
Example: I have 3 images stored in
You cannot do what you are describing while storing the images in the Assets Catalog. Fetching a resource from an Assets Catalog relies upon your knowing its actual name.
Instead, store these folders directly at the top level of your app bundle. Now you have an actual folder that you can get a reference to, and can ask the FileManager for the names of the images in the folder.
Example (Swift 2.2, sorry):
let f = NSBundle.mainBundle().URLForResource("carPix", withExtension: nil)! let fm = NSFileManager() let arr = try! fm.contentsOfDirectoryAtURL(f, includingPropertiesForKeys: nil, options: ) print(arr) // the URLs of the two jpg files