Radio Button for iOS
DLRadioButton
is an easy to use and highly customizable radio buttons control for iOS. It’s a subclass of UIButton
, and works smoothly with both Objective-C
and Swift
.
Since its release, DLRadioButton has become the most popular radio buttons control for iOS 🎉. Thank you for all the great feedback and making it better for all of us 👏.
DLRadioButton.h
and DLRadiobutton.m
in your project.pod 'DLRadioButton', '~> 1.4'
to your Podfile
.github "DavydLiu/DLRadioButton" ~> 1.4
to your Cartfile
.Put some UIButtons onto a View and change the UIButtons’ type to “custom”.
Set the UIButtons’ class to “DLRadioButton”.
Set “otherButtons” outlet.
Simply set properties directly in Interface Builder.
Property reference:
ARC, iOS 6.0
David Liu. For help or any questions, feel free to open an issue.
DLRadioButton is available under the MIT license.