Latest 1.2.0.2
Homepage https://github.com/exsortis/RoundButton
License MIT
Platforms ios 8.0, requires ARC
Authors

Build Status
Version
Platform
License

A round, framed button with an image or text

Usage

Integration

CocoaPods

To use RoundButton with CocoaPods, add the following line to your Podfile:

pod 'RoundButton'

Carthage

To use RoundButton with Carthage, add the following line to your Cartfile:

github "exsortis/RoundButton"

Button

Using the RoundButton is fairly simple. Just instantiate it in code, or set the custom class of a generic UIView to
"RoundButton". Set the image to be displayed in the button:

RoundButton* b = [RoundButton new];
b.image = theButtonImage;

Or, set text to be displayed instead:

b.text = @"5";
b.textFont = @"AvenirNext-Regular";
b.textColor = [UIColor greenColor];

If you need a badge displayed, set the badge properties:

b.showBadge = YES;
b.badge = 3;
b.badgeColor = [UIColor redColor];

Copyright

Copyright © 2016-7 Pilgrimage Software

License

See LICENSE for details.

Latest podspec

{
    "name": "RoundButton",
    "version": "1.2.0.2",
    "summary": "A round, framed button",
    "description": "A round, framed button that includes a drop-shadow.",
    "homepage": "https://github.com/exsortis/RoundButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Paul Schifferer": "[email protected]"
    },
    "social_media_url": "https://twitter.com/paulyhedral",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/exsortis/RoundButton.git",
        "tag": "1.2.0.2"
    },
    "source_files": "RoundButton/**/*.{h,m}",
    "exclude_files": "Classes/Exclude",
    "public_header_files": "RoundButton/**/*.h",
    "requires_arc": true
}

Pin It on Pinterest

Share This