Latest 0.1.0
Homepage https://github.com/alaphao/MDComponents
License MIT
Platforms ios 8.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Aleph Retamal/MDComponents.svg?style=flat)](https://travis-ci.org/Aleph Retamal/MDComponents)
Version
License
Platform

MDComponents is a collection of custom components written in swift with the purpose of simulate Google’s Material Design components.


Installation

MDComponents is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "MDComponents"

Components Avaiable:

  • MDRadioButton

To Do:

  • MDIconButton
  • MDFlatButton
  • MDRaisedButton
  • MDCheckBox
  • MDTextField
  • MDTextView

MDRadioButton

MDRadioButton

Important: Currently you must use the radio button with dimensions 24×24

Get button state:

radioButton.on // returns true or false

Set button on and off colors:

radioButton.activeColor = UIColor.redColor()
radioButton.inactiveColor = UIColor.grayColor()

Author

Aleph Retamal, [email protected]

License

MDComponents is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MDComponents",
    "version": "0.1.0",
    "summary": "Material Design Components for iOS.",
    "description": "MDComponents is a collection of custom components written in swift with the purpose of simulate Google's Material Design components.",
    "homepage": "https://github.com/alaphao/MDComponents",
    "license": "MIT",
    "authors": {
        "Aleph Retamal": "[email protected]"
    },
    "source": {
        "git": "https://github.com/alaphao/MDComponents.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "MDComponents": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This