Created
August 5, 2018 19:23
-
-
Save vialyx/d61247aa32bd17cea8d8adf0be1e1f1e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
typealias DownloadResult = (items: [String], error: Error?) | |
func load() -> DownloadResult { | |
func dowload() -> DownloadResult { | |
return (["Zips"], nil) | |
} | |
let nestedFunction = dowload() | |
return nestedFunction | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment