kaandedeoglu / KDCircularProgress

A circular progress view with gradients written in Swift
MIT License
1.21k stars 217 forks source link

Error "represented in Objective C" #93

Closed iVoGia closed 6 years ago

iVoGia commented 6 years ago

I pod this framework to my project. After that, it was appear this errror "Property cannot be marked @IBInspectable because its type cannot be represented in Objective C" In the function below: @IBInspectable public var glowMode: KDCircularProgressGlowMode = .forward { didSet { progressLayer.glowMode = glowMode } } So, I cannot build the project. How to fix it?

bbvch13531 commented 6 years ago
public var glowMode: KDCircularProgressGlowMode = .forward {
didSet {
progressLayer.glowMode = glowMode
}
}

I resolve this compile error in this way. Refer issue #78