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
path
path string of directory
Return Value
list of all file names