2017-02-15 54 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 { 
    ...