Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added wedgeForSliceAtIndex() method to SpinWheelControlDataSource pro…
…tocol... Created and implemented SpinWheelWedge class. Created and implemented SpinWheelWedgeLabel. Created and implemented SpinWheelWedgeShape. Implemented snapOrientation IBInspectable variable. Created Degrees extension with toRadians computed variable. Created degreesValue computed variable to SpinWheelDirection enum. Added .md extension to the License file. Updated the readme file. Cleaned up code.
- Loading branch information
1 parent
97baca2
commit 0e07b5c
Showing
11 changed files
with
171 additions
and
83 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// Degrees+MathMethods.swift | ||
// SpinWheelPractice | ||
// | ||
// Created by Josh Henry on 5/19/17. | ||
// Copyright © 2017 Big Smash Software. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import UIKit | ||
|
||
extension Degrees { | ||
|
||
var toRadians: Radians { | ||
return self * CGFloat.pi / 180 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.