Platform:
  • iOS 10.0 and above
  • iPhone 5 and newer, iPad 2 and newer
Languages Used:
  • Swift
Software tools used:
  • XCode
Technologies and concepts used:
  • UIKit
  • Core Animation
  • CocoaPods
  • Interface Builder
External links:
SpinWheelControl is a UI Control that can be plugged into any iOS project and can be adapted for many different uses.
Click image to enlarge.

Description

After creating and publishing four iOS apps, I decided to try my hand at creating my own CocoaPod framework. I decided to port to Swift and make my own enhancements to the Objective-C SMWheelControl CocoaPod.

SpinWheelControl, created in Swift, is an inertial spinning wheel UI control that allows selection of an item. By providing a custom data source, a developer can specify how many wedges they would like the wheel to have and custom text to be displayed inside each wedge.