SkillAgentSearch skills...

FlatButtons

Flat Buttons for iOS 7

Install / Use

/learn @SmallSharpToolsOpenSource/FlatButtons
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Flat Buttons

The button classes can be used with a Storyboard by setting the color of the text and the background to color the styles provided by these button classes which inherit UIButton and override the drawrect method.

Usage

These button classes can be copied into your project or referenced as a submodule with just the button classes being referenced in your project. To use them set the Custom Class in your Storyboard or Xib to one of these button classes and set the text and background color and experiment with the options until you find a design which works for you. The screenshot below shows how these buttons appear in iOS 6 and 7.

The files to use are in the FlatButtons folder with a sample project in the Example folder.

CocoaPods

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

pod 'FlatButtons', '~> 1.0'

or

platform :ios, "7.0"
pod 'FlatButtons', :git => 'https://github.com/brennanMKE/FlatButtons.git', :tag => '1.0.0'

Screenshot

<img src="https://raw.github.com/brennanMKE/FlatButtons/master/FlatButtons.png" width="850" />

License

Flat Buttons is available under the Apache 2.0 license. See the LICENSE file for more info.

Contact

Brennan Stehling
SmallSharpTools
@smallsharptools (Twitter)

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated9y ago
Forks0

Languages

Objective-C

Security Score

75/100

Audited on Jan 17, 2017

No findings