CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
NTDAppStoreRoundFramedButton is like the round framed button in iOS 7's App Store, more specifically, the button which says '$0.99' or 'DONE'.
UIButton from Storyboard.NTDAppStoreRoundFramedButton.To make Autolayout work properly, set the Inset in Attribute Inspector to this:
Top and bottom: 5,
left and right: 11.
Then just use it as a UIButton.
NTDAppStoreRoundFramedButton.h, only 4 methods inside it.Basically it is setting following attributes to the specified value:
| Attributes | Value |
|---|---|
| titleFontSize | 13 |
| cornerRadius | 4 |
| borderWidth | 1 |
| borderColor | button.tintColor.CGColor |
| topAndBottomInset | 5 |
| leftAndRightInset | 11 |
And that's why you need to setup the inset in Attribute Inspector for Autolayout to work properly.