A highly customisable Radio Button for iOS using swift.
Inspired by [DLRadioButton] (https://github.com/DavydLiu/DLRadioButton). (Swift copy of DLRadioButton with a little extra functionality)
-
It have single selection ability for both radio and square button
-
It have multiple selection ability for both radio and square button
- Add ISRadioButton.swift in your project. (Demo is added for functionality test and help)
-
Put some UIButtons onto a View and change the UIButtons' type to "custom".
-
Set the UIButtons' class to "ISRadioButton".
-
Set "otherButtons" outlet.
ARC, iOS 8.0
Ishaq Shafiq. For help or any qeustions, feel free to open an issue.
ISRadioButton is available under the MIT license.