我有一个Obj项目,我已经添加了一个Swift viewController。我也尝试使用xib作为一个竞争斯威夫特viewController没有运气。super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreate
我在Swift中实现了一个UIButton派生类(RoundButton),其余的仍然在Objective中。如何访问同一个故事板中基于目标C的类和基于Swift的类?您可以在故事板中的RoundButton字段中键入UIButton Custom Class - Class字段,但是iOS提供了以下警告运行时:
Unknown class RoundButton in