DLRadioButton 1.4.12

DLRadioButton 1.4.12

测试已测试
语言语言 Obj-CObjective C
许可协议 MIT
发布最新发布2018年4月

DLRadioButton 维护。




DLRadioButton

Version License Platform Carthage compatible

DLRadioButton 是一个易于使用且高度可定制的 iOS 单选按钮控件。它是 UIButton 的子类,并且与 Objective-CSwift 都能良好地工作。

自发布以来,DLRadioButton 已经成为 iOS 上最受欢迎的单选按钮控件🎉. 感谢大家的宝贵反馈,使它变得更加出色👏.

预览

screenshot1

用法

安装方法

  • 选项 1:简单地将 DLRadioButton.hDLRadiobutton.m 添加到您的项目中。
  • 选项 2:将 pod 'DLRadioButton', '~> 1.4' 添加到您的 Podfile
  • 选项 3:将 github "DavydLiu/DLRadioButton" ~> 1.4 添加到您的 Cartfile

在界面构建器中添加单选按钮

  1. 将一些UIButtons拖放到视图中,并将UIButtons的类型更改为“自定义”。

    change UIButton Type

  2. 将UIButtons的类设置为“DLRadioButton”。

    change UIButton Class

  3. 设置“otherButtons”输出。

    set otherButtons outlet

自定义DLRadioButton

  • 直接在界面构建器中设置属性。

    design DLButton

  • 属性参考

    DLRadioButton

要以编程方式添加单选按钮,请参阅示例项目。

要求

ARC, iOS 6.0

作者

David Liu。如有疑问,请提交问题

许可

DLRadioButton可在MIT许可证下使用。