3 ms·
> - Interface types with implicit adoption (Swift takes explicit protocols from ObjC) Objective-C has informal protocols, and so does Swift.
by nardi 12y ago
> - Interface types with implicit adoption (Swift takes explicit protocols from ObjC)
Objective-C has informal protocols, and so does Swift.
- deleted 12y ago[deleted]
- tomlu 12y agoI'm assuming OP means structural typing, which Objective-C does not support.
- curveship 12y agoInformal protocols and implicit interfaces are not the same thing. In particular, implicit interfaces are type checked statically at compile time, while informal protocols are checked dynamically at runtime.