DavydLiu/DLRadioButton
DavydLiu/DLRadioButton has 936 GitHub stars and 208 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-20 14:43 UTC. Last push 2024-03-25.
实测星标增长
- 24小时
- 0
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
Radio Button for iOS
开发工具README.md
原文DLRadioButton
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 👏.
Preview

Usage
To install:
- Option 1: simply put
DLRadioButton.handDLRadiobutton.min your project. - Option 2: add
pod 'DLRadioButton', '~> 1.4'to yourPodfile. - Option 3: add
github "DavydLiu/DLRadioButton" ~> 1.4to yourCartfile.
To add radio buttons in interface builder:
Put some UIButtons onto a View and change the UIButtons' type to "custom".

Set the UIButtons' class to "DLRadioButton".

Set "otherButtons" outlet.

To customize DLRadiobutton:
Simply set properties directly in Interface Builder.

Property reference:

To add radio buttons programmatically, please refer to the example project.
Requirements
ARC, iOS 6.0
Author
David Liu. For help or any questions, feel free to open an issue.
License
DLRadioButton is available under the MIT license.