Last active
June 15, 2016 12:06
-
-
Save AlexanderNey/aaf3dfcfe3e9486a6d09 to your computer and use it in GitHub Desktop.
ARTICLE Function Composing Swift 2.0 - 1
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
func parseJSONFromNSData(data: NSData) -> JSON { ... } | |
func validateJSONResponse(json: JSON) -> (JSON, NSError?) { ... } | |
func unmarshalJSON<T : JSONUnmarshallable>(json: JSON, type: T.Type) -> T { ... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment