kaandedeoglu / KDCircularProgress

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

Forward property is not working in swift #85

Closed nrvraghu closed 6 years ago

nrvraghu commented 6 years ago

Hi KDC Team, I had been used this in swift it is worked well, but in swift 4 The following code is showing error @IBInspectable public var glowMode: KDCircularProgressGlowMode = .forward { didSet { progressLayer.glowMode = glowMode } } error:- Property cannot be marked @IBInspectable because its type cannot be represented in Objective-C

from the auto-correction for the above syntax public var glowMode: KDCircularProgressGlowMode = .forward { didSet { progressLayer.glowMode = glowMode } } The above one is not to be a KDCircular view property. Help me out, please

nrvraghu commented 6 years ago

For the above issue, please use this pod 'KDCircularProgress', :git => 'https://github.com/kaandedeoglu/KDCircularProgress'