HLTrafficLightsIndicatorView
HLTrafficLightsIndicatorView
ExampleResultLayersTimelineRequirementsSwift 3.0
iOS 8.0+
Xcode 8.0
InstallationHLTrafficLightsIndicatorView is available through CocoaPods. To install
it, simply add the following line to your Podfile:
Inited from pure code :
let view = HLTrafficLightsIndicatorView(frame: CGRect(x: 100, y: 100, width: 200, height: 200)) self.view.addSubview(view) Customization Properties open var topRingColor = UIColor.red open var centerRingColor = UIColor(red: 255/255, green: 192/255, blue: 1/255, alpha: 1) open var bottomRingColor = UIColor(red: 18/255, green: 222/255, blue: 125/255, alpha: 1) open var duration: Double = 1.2 TODOThe runway layer need enable spring animation.
Authorpandaape, whailong2010@gmail.com
LicenseHLTrafficLightsIndicatorView is available under the MIT license. See the LICENSE file for more info.
,开题报告,开题报告