阅读背景:

在子类化时混合objective-c和swift。

来源:互联网 

I've got a subclass of UIViewController written in Swift called 'BaseViewController'. I now have an 'old' view controller called 'ViewController1' written in Objective-C that I want to inherit from 'BaseViewController'. Following other advice I have imported the 'Project-Swift.h' header file.I've got a subclass of UIViewController written




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

分享到: