#!/usr/bin/swift import Foundation typealias Failure = (NSError!) -> Void typealias ResultBlock = (NSData!, NSError!) -> Void /// JSONObjectWithDataã®æ»ãå¤ã¨ãã¦ä½¿ç¨ãã enum JSONObjectWithDataResult { case Success(AnyObject) case Failure(NSError) } /// NSDataãJSONãªãã¸ã§ã¯ãã«å¤æããJSONãªãã¸ã§ã¯ãã¾ãã¯ã¨ã©ã¼ã®ãããããè¿ã func JSONObjectWithData(data: NSData) -> JSONObjectWithDataResult { do { let json = try NSJSONSerialization.J
{{#tags}}- {{label}}
{{/tags}}