Skip to content

Instantly share code, notes, and snippets.

@czechboy0
Created August 25, 2016 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save czechboy0/2a42aede8acab2b63a359dea24ce269b to your computer and use it in GitHub Desktop.
Save czechboy0/2a42aede8acab2b63a359dea24ce269b to your computer and use it in GitHub Desktop.
import Foundation
extension Collection where Iterator.Element == (key: String, value: FileWrapper) {
func hello() -> String {
return "world"
}
}
let dict: [String: FileWrapper] = [:]
print(dict.hello())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment