Coder Social home page Coder Social logo

dlradiobutton's Introduction

DLRadioButton

Version License Platform Carthage compatible

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

screenshot1

Usage

To install:

  • Option 1: simply put DLRadioButton.h and DLRadiobutton.m in your project.
  • Option 2: add pod 'DLRadioButton', '~> 1.4' to your Podfile.
  • Option 3: add github "DavydLiu/DLRadioButton" ~> 1.4 to your Cartfile.

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 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.

dlradiobutton's People

Contributors

davydliu avatar jrejaud avatar irshadpc avatar allaire avatar bryant1410 avatar

Stargazers

lengshengren avatar

Watchers

James Cloos avatar lengshengren avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.