Skip to content

Commit 0ea21f2

Browse files
authored
Updated README
1 parent bcd55e8 commit 0ea21f2

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

README.md

Lines changed: 10 additions & 3 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.

0 commit comments

Comments
 (0)