diff --git a/TTFortuneWheel.podspec b/TTFortuneWheel.podspec index 1e88dd4..00df4f5 100644 --- a/TTFortuneWheel.podspec +++ b/TTFortuneWheel.podspec @@ -3,7 +3,7 @@ Pod::Spec.new do |s| s.name = 'TTFortuneWheel' - s.version = '0.1.7' + s.version = '0.1.8' s.summary = 'Fortune spinning wheel that supports custom drawing.' s.homepage = 'https://tapptitude.com/' s.license = { :type => 'MIT', :file => 'LICENSE' } diff --git a/TTFortuneWheelSample/ViewController.swift b/TTFortuneWheelSample/ViewController.swift index 6f81593..d4d0c0f 100644 --- a/TTFortuneWheelSample/ViewController.swift +++ b/TTFortuneWheelSample/ViewController.swift @@ -25,7 +25,7 @@ class ViewController: UIViewController { spinningWheel.slices = slices spinningWheel.equalSlices = true spinningWheel.frameStroke.width = 0 - spinningWheel.titleRotation = Float.pi + spinningWheel.titleRotation = CGFloat.pi spinningWheel.slices.enumerated().forEach { (pair) in let slice = pair.element as! CarnivalWheelSlice let offset = pair.offset