Skip to content

Commit cea2d65

Browse files
Merge commit '92233b6f1e3ff1d0a5a27bf72241db8892f4e208'
2 parents 9222247 + 92233b6 commit cea2d65

1 file changed

Lines changed: 19 additions & 8 deletions

File tree

README.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- that allows you to design your own buttons from subviews,
1818
- in storyboard and xib right away.
1919

20-
20+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
2121

2222
## Watch video with examples
2323

@@ -27,12 +27,12 @@
2727

2828
[![ Xcode Create Storyboard/Xib](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/XcodeCreateXib40.png)](https://youtu.be/VNupvYMYPmk)
2929

30-
30+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
3131

3232
- [Requirements](#requirements)
3333
- [Installation](#installation)
3434
- [CocoaPods](#cocoapods)
35-
- [Swift Package Manager with Xcode 13](#swift-package-manager-with-xcode-13)
35+
- [Swift Package Manager](#swift-package-manager)
3636
- [Getting Started](#getting-started)
3737
- [Usage `ButtonClickStyleView`](#usage-buttonclickstyleview)
3838
- [Designable Attributes Storyboard/Xib files](#designable-attributes-storyboardxib-files)
@@ -42,14 +42,15 @@
4242
- [License](#license)
4343

4444

45-
45+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
4646

4747
## Requirements
4848

4949
- Xcode 13+
5050
- iOS 9.0+
5151
- Swift 5.5+
5252

53+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
5354

5455
## Installation
5556

@@ -61,12 +62,20 @@ it, simply add the following line to your Podfile:
6162
```ruby
6263
pod 'ButtonClickStyle'
6364
```
64-
### Swift Package Manager with Xcode 13
65+
66+
### Swift Package Manager
67+
68+
Select Xcode menu `File > Add Packages...` and paste in the repository URL, enter.
6569

6670
Follow [this doc](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app).
6771

72+
```swift
73+
https://github.com/mrustaa/ButtonClickStyle
74+
```
75+
6876

6977

78+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
7079

7180
## Getting Started
7281

@@ -135,7 +144,7 @@ extension ButtonClick {
135144
.Glare
136145
No change for "add.view"
137146

138-
147+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
139148

140149
#### Addition `ButtonClickStyleDesignView`
141150

@@ -151,15 +160,15 @@ Also you can use in special custom Designable `ButtonClickStyleDesignView` or `B
151160

152161
<!-- ![image](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/ui3.gif) -->
153162

154-
163+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
155164

156165
### Init Programmatically
157166

158167
If initializing programmatically
159168
There is a property `addViews` - allows you to pass views / layers
160169
which you definitely want to use in the click animation only
161170

162-
171+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
163172

164173
#### Usage `ButtonClick.State`
165174

@@ -224,6 +233,8 @@ class ViewController: UIViewController {
224233
}
225234
```
226235

236+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
237+
227238
![image](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/ui3.gif)
228239

229240
## Author

0 commit comments

Comments
 (0)