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
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 )
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
@@ -62,22 +63,19 @@ it, simply add the following line to your Podfile:
6263pod ' ButtonClickStyle'
6364```
6465
65-
6666### Swift Package Manager
6767
6868Select Xcode menu ` File > Add Packages... ` and paste in the repository URL, enter.
6969
70+ Follow [ this doc] ( https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app ) .
7071
7172``` swift
7273https: // github.com/mrustaa/ButtonClickStyle
7374```
7475
7576
7677
77- Follow [ this doc] ( https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app ) .
78-
79-
80-
78+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
8179
8280## Getting Started
8381
@@ -146,7 +144,7 @@ extension ButtonClick {
146144 .Glare
147145 No change for "add.view"
148146
149-
147+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
150148
151149#### Addition ` ButtonClickStyleDesignView `
152150
@@ -162,15 +160,15 @@ Also you can use in special custom Designable `ButtonClickStyleDesignView` or `B
162160
163161<!--  -->
164162
165-
163+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
166164
167165### Init Programmatically
168166
169167If initializing programmatically
170168There is a property ` addViews ` - allows you to pass views / layers
171169which you definitely want to use in the click animation only
172170
173-
171+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
174172
175173#### Usage ` ButtonClick.State `
176174
@@ -235,6 +233,8 @@ class ViewController: UIViewController {
235233}
236234```
237235
236+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
237+
238238![ image] ( https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/ui3.gif )
239239
240240## Author
0 commit comments