Skip to content

tianguanghui/DLRadioButton

 
 

Repository files navigation

DLRadioButton

Version License Platform

Preview

screenshot1

Usage

####To install:

  • Put DLRadioButton.h and DLRadiobutton.m in your project, or add Pod DLRadioButton to your Podfile.

####To add radio buttons in interface builder:

  1. Put some UIButtons onto a View and change the UIButtons' type to "custom".

    change UIButton Type

  2. Set the UIButtons' class to "DLRadioButton".

    change UIButton Class

  3. Set "otherButtons" outlet.

    set otherButtons outlet

####To customize DLRadiobutton:

  • Simply set properties directly in Interface Builder.

    design DLButton

  • Property reference:

    DLRadioButton

####To add raido buttons programmatically, please refer to example project.

Requirements

ARC, iOS 6.0

Author

David Liu. For help or any qeustions, feel free to reach me out at @DavydLiu.

License

DLRadioButton is available under the MIT license.

About

A highly customizable Radio Button for iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%