Skip to content

AgarwalMilan/MAGCheckbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAGCheckbox

CocoaPods LICENSE

Custom circular checkbox button that can be quickly integrated from Storyboard without writing any extra code.

Demo

Installation

It's super easy to use, just follow the below steps to integrate it quickly:

Using CocoaPods

Add the following line to your Podfile:

pod 'MAGCheckbox'

Run pod install, and you should now have the latest MAGCheckbox release.

Manual Installation

  1. Download and extract the files.
  2. Import the MAGCheckbox folder in your project.

Usage

  1. Open Storyboard and drag button on your view controller.
  2. Set equal width and height. Recommended width and height is 28 but you can increase it.
  3. Set it's type as Custom and remove title.
  4. Set it's Class as MAGCheckbox
  5. Use selected UIButton property to toggle it's state.

Customization

You can use all the properties of UIButton alongwith below properties:

  1. borderColor to set different border color when checkbox is deselected.
  2. borderWidth to increase borderWidth to more than 1.0;
  3. fillColor to set different fill color when checkbox is selected.

About

Custom circular checkbox for iOS

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors