Skip to content

Commit e69625e

Browse files
Merge commit 'b02aeceadf8eac8b5a4cffb9633cddbc69b0b27c'
2 parents d8258b2 + b02aece commit e69625e

2 files changed

Lines changed: 67 additions & 8 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#
2+
# Be sure to run `pod lib lint ButtonClickStyle.podspec' to ensure this is a
3+
# valid spec before submitting.
4+
#
5+
# Any lines starting with a # are optional, but their use is encouraged
6+
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
7+
#
8+
9+
Pod::Spec.new do |s|
10+
s.name = 'ButtonClickStyle'
11+
s.version = '1.0.0'
12+
s.summary = 'This is a customizable designable button view. Inside layer you can style button, create your own subviews. Choose 9 click animation styles'
13+
14+
# This description is used to generate tags and improve search results.
15+
# * Think: What does it do? Why did you write it? What is the focus?
16+
# * Try to keep it short, snappy and to the point.
17+
# * Write the description between the DESC delimiters below.
18+
# * Finally, don't worry about the indent, CocoaPods strips it!
19+
20+
s.description = <<-DESC
21+
'This is a customizable designable button view. Inside layer you can style button, create your own subviews. Choose 9 click animation styles'
22+
DESC
23+
24+
s.homepage = 'https://github.com/mrustaa/ButtonClickStyle'
25+
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
26+
s.license = { :type => 'MIT', :file => 'LICENSE' }
27+
s.author = { 'mrustaa' => 'rustamburger@gmail.com' }
28+
s.source = { :git => 'https://github.com/mrustaa/ButtonClickStyle.git', :tag => s.version.to_s }
29+
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
30+
s.swift_version = "5.0"
31+
32+
s.ios.deployment_target = '14.0'
33+
s.platform = :ios, "14.0"
34+
35+
s.source_files = 'ButtonClickStyle/**/*.{swift}'
36+
37+
# s.resource_bundles = {
38+
# 'ButtonClickStyle' => ['ButtonClickStyle/Assets/*.png']
39+
# }
40+
41+
# s.public_header_files = 'Pod/Classes/**/*.h'
42+
# s.frameworks = 'UIKit', 'MapKit'
43+
# s.dependency 'AFNetworking', '~> 2.3'
44+
end

README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,37 @@
11
# ButtonClickStyle
22

3-
![image](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/preview_10sec33fps.gif)
4-
5-
This is a view button
63

7-
Has 9 styles of animated click
4+
[![Version](https://img.shields.io/cocoapods/v/ButtonClickStyle.svg?style=flat)](https://cocoapods.org/pods/ButtonClickStyle)
5+
[![License](https://img.shields.io/cocoapods/l/ButtonClickStyle.svg?style=flat)](https://cocoapods.org/pods/ButtonClickStyle)
6+
[![Platform](https://img.shields.io/cocoapods/p/ButtonClickStyle.svg?style=flat)](https://cocoapods.org/pods/ButtonClickStyle)
7+
[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://swift.org/)
8+
[![Swift 5.1](https://img.shields.io/badge/Swift-5.1-orange.svg?style=flat)](https://swift.org/)
9+
[![Swift 5.2](https://img.shields.io/badge/Swift-5.2-orange.svg?style=flat)](https://swift.org/)
810

9-
Inside the layer you can style your button, create your own subviews
11+
![image](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/preview_10sec33fps.gif)
1012

11-
You can expand the project adding new click-animation-styles
13+
- This is a customizable designable button view.
14+
- Inside the layer you can style your button, create your own subviews.
15+
- Can choose 1 of 9 button click animation styles.
16+
- You can expand the project adding new click-animation-styles.
1217

1318
## Requirements
1419

1520
- macOS 10.12+
1621
- Xcode 13+
1722
- Swift 5.5+
1823

19-
## Installation
24+
25+
## Installation
26+
27+
### CocoaPods
28+
29+
ContainerControllerSwift is available through [CocoaPods](https://cocoapods.org). To install
30+
it, simply add the following line to your Podfile:
31+
32+
```ruby
33+
pod 'ButtonClickStyle'
34+
```
2035

2136
## Usage
2237

@@ -27,7 +42,7 @@ You can expand the project adding new click-animation-styles
2742
2) Inside this layer, create your own button
2843

2944
3) In Attributes Inspector of Interface Builder
30-
you can immediately select the button click `animationType`
45+
you can immediately select the button click style `animationType`
3146

3247

3348
![image](https://github.com/mrustaa/GifPresentations/blob/master/ButtonClickStyle/click_styles_example_2x_10sec33fps.gif)

0 commit comments

Comments
 (0)