FlatButtons
Flat Buttons for iOS 7
Install / Use
/learn @SmallSharpToolsOpenSource/FlatButtonsREADME
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
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
