Let\'s say I have a folder in my \"Resources\" folder of my iPhone application called \"Documents\".
Is there a way that I can get an array or some type of list of a
Updated for Swift 3
let docsPath = Bundle.main.resourcePath! + "/Resources"
let fileManager = FileManager.default
do {
let docsArray = try fileManager.contentsOfDirectory(atPath: docsPath)
} catch {
print(error)
}
Further reading: