[英]“Unknown class in interface builder file” when using class which inherits from a generic class in a Storyboard
[英]“Unknown class BarChartView in Interface Builder file” error when using a custom framework
我試圖在我的應用程序中使用Charts framework
。 我使用Carthage為此構建了二進制文件並添加到我的應用程序中並包含兩個文件:
- Charts-Swift.h
- Charts.h
然后我將視圖的自定義類設置為BarChartView
,但似乎XCode無法識別該類(無自動完成)。 並且還沒有設置自定義模塊。
當我運行應用程序時,我總是收到此警告:
Unknown class BarChartView in Interface Builder file
我從互聯網上嘗試了一些解決方案,但似乎沒有什么對我有用。
任何人都有Xcode 8.1
和Swift 3
的解決方案?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.