This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
class OS | |
{ | |
static func enumeratePath(let path: String)->AnyGenerator<String> | |
{ | |
let fileManager = NSFileManager.defaultManager() | |
let enumerator:NSDirectoryEnumerator? = fileManager.enumeratorAtPath(path) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Skip to content | |
Search… | |
All gists | |
GitHub | |
Sign up for a GitHub account Sign in | |
Create a gist now | |
Instantly share code, notes, and snippets. | |
Delete |
NewerOlder