Skip to content

Instantly share code, notes, and snippets.

@vialyx
Created August 5, 2018 19:23
Show Gist options
  • Save vialyx/d61247aa32bd17cea8d8adf0be1e1f1e to your computer and use it in GitHub Desktop.
Save vialyx/d61247aa32bd17cea8d8adf0be1e1f1e to your computer and use it in GitHub Desktop.
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