2017-02-15 75 views
1

在我的项目中使用Pod安装框架后,当我尝试通过继承类中的类来创建自己的类时,出现错误消息“Use of undeclared type ...”框架的图书馆。但是我可以通过命令点击我的文件中的类来找到该类。有没有人遇到过这个问题?Xcode 8:无法从框架继承类

Screenshot of Xcode error

回答

0

您需要import Former使用其功能(您正在使用的库模块)。

import UIKit 
import Former // <--- 

final class YourCell: UITableViewCell, LabelFormableRow { 
    ...