Replies: 2 comments
-
例如提供一个协议用来标记是否继承关系,如果识别到继承,就在内部通过某种方式,调用super.init(from) |
Beta Was this translation helpful? Give feedback.
0 replies
-
有位老哥用宏实现了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
期望继承的实现可以在封装内部实现,而不是让使用者重写协议方法。
Beta Was this translation helpful? Give feedback.
All reactions