阅读背景:

如何通过继承在自定义和Apple提供的类之间共享属性?

来源:互联网 

I have a few different viewControllers that need to inherit the same properties, but aren't the same type of viewController. For example, one VC is a regular UIViewController, whereas another one is a UISplitViewController. Is there any way for me to efficiently use inheritance to make sure they all have these certain properties? Or do I just need to give each one their own separate declarations?I have a few different viewControllers that nee




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: