kaandedeoglu / KDCircularProgress

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

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

Closed Jasperav closed 7 years ago

Jasperav commented 7 years ago

I am using the newest Swift version and the newest xCode version. I get that error at this function:

@IBInspectable public var glowMode: KDCircularProgressGlowMode = .forward {
    didSet {
        progressLayer.glowMode = glowMode
    }
}

Have you plannend a upgrade to swift 4?

jyounus commented 7 years ago

Same here, any updates?

Jasperav commented 7 years ago

I just removed that function hehe, it works now

jyounus commented 7 years ago

I found this fork with Swift 4 updates, so currently using this: https://github.com/BalloonInc/KDCircularProgress

kaandedeoglu commented 7 years ago

Just pushed a fix on master. Let me know.

jyounus commented 7 years ago

It compiles fine for me, and seems to function fine. :D

FarisAlbalawi commented 7 years ago

public var glowMode: KDCircularProgressGlowMode = .forward { didSet { progressLayer.glowMode = glowMode } }

perlasivakrishna commented 6 years ago

I updated to master branch using version 1.5.2, But still im getting error. I can see that Enum is not exposed to obj-c