Last active
January 6, 2016 14:49
-
-
Save nunogoncalves/e0d47d76b1c888d97d8e to your computer and use it in GitHub Desktop.
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
struct Languages { | |
class Get: Getter { | |
func getUrl() -> String { | |
return "http://some_languages_website.com" | |
} | |
func getDataFrom(dictionary: NSDictionary) -> [Language] { | |
return extractLanguagesFrom(dictionary) | |
} | |
private func extractLanguagesFrom(dictionary: NSDictionary) -> [Languages] { | |
... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment