swift - 安装 KDCircularProgress Xcode 9 时遇到问题

标签 swift xcode cocoapods kdcircularprogress

我想安装 KDCircularProgress 我已经尝试过 Cocoapods 并将 .swift 文件添加到项目中但是我得到了两个错误

Property cannot be marked @IBInspectable because its type cannot be represented in Objective-C

linker command failed with exit code 1 (use -v to see invocation)

最佳答案

在检查器的右侧继承自类 KDCircularProgressView 尝试使用

@IBOutlet var circularProgressView: KDCircularProgress!

关于swift - 安装 KDCircularProgress Xcode 9 时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45561801/

相关文章:

ios - 如何使用 JSON.serializer 在 Swift 中解析 JSON

ios - Cocoapod 错误 : class is implemented in both

ios - 在 Swift 中创建灵活的 API 类

ios - 使用静态库进行单元测试

iphone - XIB 文件无法在 Interface Builder 中正确加载

ruby - Cocoapods "pod install"卡在 OS X El Capitan 上

ios - 初始化时出现 Firebase 错误 'NSInvalidArgumentException'

swift - ARKit:在距相机特定 Z 距离的特定像素处绘制节点

swift - 使用 Swift 从 firebase 中提取数据

ios - HTTP 请求后保存并发送 cookie