Skip to content

Commit 3656af3

Browse files
committed
Update podspec
1 parent a528871 commit 3656af3

File tree

1 file changed

+4
-60
lines changed

1 file changed

+4
-60
lines changed

UIView+AnimationExtensions.podspec

Lines changed: 4 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,13 @@
11
Pod::Spec.new do |s|
22

33
s.name = "UIView+AnimationExtensions"
4-
s.version = "2.0.0"
4+
s.version = "2.0.1"
55
s.summary = "A useful UIView category containing a set of most commonly used animations"
66

77
s.description = <<-DESC
8-
##UIView Animation Extensions
9-
10-
A **useful** `UIView` category containing a set of most commonly used animations like rotation, flip, shake and others.
11-
12-
It is designed to be **as easy to use and integrate as possible** with a goal to speed up everyday development tasks. All the methods are well documented and described.
13-
14-
Furthermore, the category comes along with **a small demo project** where you can see the animations in action.
15-
16-
# Animations
17-
Extension contains helper methods for the following animations:
18-
## Rotation
19-
```objective-c
20-
[boxView rotateToAngle:M_PI * 2.0f
21-
duration:1.0f
22-
direction:UIViewAnimationRotationDirectionLeft
23-
repeatCount:HUGE_VALF
24-
autoreverse:YES];
25-
```
26-
![Rotation](https://i.imgur.com/MjlgVKj.gif)
27-
28-
## Flip
29-
```objective-c
30-
[boxView flipWithDuration:0.3f
31-
direction:UIViewAnimationFlipDirectionFromLeft
32-
repeatCount:2
33-
autoreverse:NO];
34-
```
35-
36-
![Flip](https://i.imgur.com/fmiWQaj.gif)
37-
38-
## Vertical Shake
39-
```objective-c
40-
[boxView shakeVertically];
41-
```
42-
![Vertical Shake](https://i.imgur.com/Z9zgPkE.gif)
43-
44-
## Horizontal Shake
45-
```objective-c
46-
[boxView shakeHorizontally];
47-
```
48-
![Horizontal Shake](https://i.imgur.com/JX1FWKZ.gif)
49-
50-
## Pulse
51-
```objective-c
52-
[boxView pulseToSize:1.1f
53-
duration:0.3f
54-
repeat:YES];
55-
```
56-
![Pulse](https://i.imgur.com/EEhMxJV.gif)
57-
58-
## Motion Effects
59-
```objective-c
60-
[boxView applyMotionEffects];
61-
```
62-
Can't be shown in a gif. Run on the device to see it in action.
63-
64-
# Thread Safety
65-
66-
UIView Animation Extensions is a category on `UIView` and - as with all `UIKit` components - it should only be accessed from the main thread.
8+
A useful UIView category containing a set of most commonly used animations like rotation, flip, shake and others.
9+
It is designed to be as easy to use and integrate as possible with a goal to speed up everyday development tasks. All the methods are well documented and described.
10+
The category comes along with a small demo project where you can see the animations in action.
6711
DESC
6812

6913
s.homepage = "https://github.com/r3econ/animation-extensions"

0 commit comments

Comments
 (0)