摘要: @objc and dynamic Objective-C runtime visibility and the depths of dynamic dispatch in the modern Swift era. 5 December 2017 ∙ Objective-C Interop ∙ w 阅读全文
posted @ 2018-08-11 17:09 zzfx 阅读(328) 评论(0) 推荐(0)
摘要: Extensions can add new functionality to a type, but they cannot override existing functionality. 阅读全文
posted @ 2018-08-11 16:07 zzfx 阅读(131) 评论(0) 推荐(0)
摘要: protocol CommonTrait: class { func commonBehavior() -> String } extension CommonTrait { func commonBehavior() -> String { return "from protocol extens 阅读全文
posted @ 2018-08-11 15:42 zzfx 阅读(171) 评论(0) 推荐(0)