|
1 | 1 | Pod::Spec.new do |s|
|
2 | 2 |
|
3 | 3 | s.name = "UIView+AnimationExtensions"
|
4 |
| - s.version = "2.0.0" |
| 4 | + s.version = "2.0.1" |
5 | 5 | s.summary = "A useful UIView category containing a set of most commonly used animations"
|
6 | 6 |
|
7 | 7 | 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 |
| - |
27 |
| -
|
28 |
| -## Flip |
29 |
| -```objective-c |
30 |
| -[boxView flipWithDuration:0.3f |
31 |
| - direction:UIViewAnimationFlipDirectionFromLeft |
32 |
| - repeatCount:2 |
33 |
| - autoreverse:NO]; |
34 |
| -``` |
35 |
| -
|
36 |
| - |
37 |
| -
|
38 |
| -## Vertical Shake |
39 |
| -```objective-c |
40 |
| -[boxView shakeVertically]; |
41 |
| -``` |
42 |
| - |
43 |
| - |
44 |
| -## Horizontal Shake |
45 |
| -```objective-c |
46 |
| -[boxView shakeHorizontally]; |
47 |
| -``` |
48 |
| - |
49 |
| - |
50 |
| -## Pulse |
51 |
| -```objective-c |
52 |
| -[boxView pulseToSize:1.1f |
53 |
| - duration:0.3f |
54 |
| - repeat:YES]; |
55 |
| -``` |
56 |
| - |
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. |
67 | 11 | DESC
|
68 | 12 |
|
69 | 13 | s.homepage = "https://github.com/r3econ/animation-extensions"
|
|
0 commit comments