FileManager
extension FileManager
-
Returns a list of all file names inside a directory
Throws
error if path does not existDeclaration
Swift
open func swiftFilesInDirectory(atPath path: String) throws -> [String]Parameters
pathpath string of directory
Return Value
list of all file names
View on GitHub
FileManager Extension Reference