CirclePicker is a custom UIView. It allows multiple choice selection of different elements which can be customised by the programmer. Furthermore you can configure CirclePicker for your own needs with multiple parameters.
- iOS 9.0+
- Xcode 9.0+
Download and copy the files from "Code" to your Xcode-project and you're good to go.
You can also install CirclePicker using CocoaPods.
Add the following line in your Podfile:
pod 'CirclePicker'
Create a new Object of the type CirclePicker. You need to set the dataSource attribute (CirclePickerDataSource-protocol) to fill it with data. Then you can use the method attachToView(_ :) to attach the picker to a certain view. The picker itself will be displayed now. In order to respond to user interaction, you need to set the delegate attribute (CirclePickerDelegate-protocol) which will be called on every interaction.