- 331 名前:名称未設定 mailto:sage [2014/06/05(木) 10:10:55.33 ID:OT6vh16X0]
- >>328
Obj-CのコードからNSException投げられると落ちるだけ 関係ないけどこれまでNSErrorのポインタ渡してたのは、これからはタプルにして返すのが主流になったりするかな? Obj-Cからの流れで今こうなってるのが class func sendSynchronousRequest(_ request: NSURLRequest!, returningResponse response: AutoreleasingUnsafePointer<NSURLResponse?>, error error: NSErrorPointer) -> NSData! こんな感じになっていったり class func sendSynchronousRequest(_ request: NSURLRequest!) -> (NSData?, NSURLResponse, NSError?)
|

|