skywinder / GaugeKit

Kit for building custom gauges + easy reproducible Apple's style ring gauges.
https://www.cocoacontrols.com/controls/gaugekit
MIT License
1.03k stars 100 forks source link

Swift 4 support #60

Closed argomis closed 4 years ago

argomis commented 6 years ago

Hello, thanks for this very useful project. For making it compatible with Swift 4 you just needs to do the following modification :

In file Gauge+Animations.swift the function: func updateProgress( timer: Timer) -> Void needs to have @objc to respond to the selector: @objc func updateProgress( timer: Timer) -> Void

gholias commented 6 years ago

Im also having the same issue

gholias commented 6 years ago

I've created a fork and fixed the issue pod 'GaugeKit', :git => 'https://github.com/gholias/GaugeKit.git', :branch => 'master'

piperpilot commented 6 years ago

@gholias seems the version that you pushed isn't properly signed. It won't let me use it in my swift4 based project. Is there an admin that can possibly merge the changes needed so this can continue to be used? Looks like a great component, but currently not usable.

Nevermind...I seem to have gotten it working now.

skywinder commented 4 years ago

Fixed!