Skip to content

Commit 1546f6d

Browse files
committed
2 parents eea8695 + 7d3b1a8 commit 1546f6d

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
1-
# TORoundedButton
2-
3-
<img src="https://raw.githubusercontent.com/TimOliver/TORoundedButton/master/screenshot.webp" width="500" align="right" alt="TORoundedButton" />
1+
<h1 align="center">TORoundedButton</h1>
42

3+
<div align="center">
4+
55
[![CI](https://github.com/TimOliver/TORoundedButton/workflows/CI/badge.svg)](https://github.com/TimOliver/TORoundedButton/actions?query=workflow%3ACI)
66
[![Version](https://img.shields.io/cocoapods/v/TORoundedButton.svg?style=flat)](http://cocoadocs.org/docsets/TORoundedButton)
77
[![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager/)
88
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
99
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/TimOliver/TORoundedButton/master/LICENSE)
1010
[![Platform](https://img.shields.io/cocoapods/p/TORoundedButton.svg?style=flat)](http://cocoadocs.org/docsets/TORoundedButton)
1111

12+
</div>
13+
14+
<div align="center">
15+
<img src="https://raw.githubusercontent.com/TimOliver/TORoundedButton/master/screenshot.webp" width="750" align="center" alt="TORoundedButton" />
16+
</div>
17+
<p/>
18+
1219
`TORoundedButton` is an open source UI control of a standard user button. Its design consists of displaying text on top of a solid rectangle with rounded corners. This UI style has started becoming more and more common in iOS 11 and above, and while Apple has an official one they use internally, it is not possible to achieve this effect without heavily customizing `UIButton`.
1320

1421
`TORoundedButton` has been crafted to be as graphically performant as possible, based on guidance from Core Animation engineers from Apple at WWDC 2019. It is not simply a subclass of `UIButton`. Instead, it is a subclass of `UIControl` with all button graphics and behavior re-engineered from scratch.
@@ -97,9 +104,7 @@ Some of the tips they mentioned included:
97104

98105
# Credits
99106

100-
`TORoundedButton` was created by [Tim Oliver](http://twitter.com/TimOliverAU) as a component of [iComics](http://icomics.co).
101-
102-
iOS device mockup art by [Pixeden](http://pixeden.com).
107+
`TORoundedButton` was created by [Tim Oliver](http://twitter.com/TimOliverAU) as a component of [iComics](http://icomics.net).
103108

104109
# License
105110

0 commit comments

Comments
 (0)