摘要: public class func pending() -> (promise: Promise<T>, resolver: Resolver<T>) { return { ($0, Resolver($0.box)) }(Promise<T>(.pending)) } 阅读全文
posted @ 2018-11-29 15:41 zzfx 阅读(246) 评论(0) 推荐(0)
摘要: let firstHighScore = ("Mary", 9001)firstHighScore.0 firstHighScore.1 阅读全文
posted @ 2018-11-29 15:30 zzfx 阅读(111) 评论(0) 推荐(0)