Skip to content

Commit 516f43a

Browse files
committed
Update README.md
1 parent edeb1ea commit 516f43a

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

README.md

+11-22
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# CKWaveCollectionViewTransition #
1+
# CKWaveCollectionViewTransition
22

33
This is a cool custom transition between two or more UICollectionViewControllers with wave like cell animation.
44
Could be used in e.g. galleries.
55

66
![anim.gif](https://bitbucket.org/repo/bdbxyL/images/1848372571-anim.gif)
77

8-
### Installation ###
8+
## Installation
99

1010
There are two options:
1111

1212
* Via CocoaPods.
1313
* Manually add the files into your Xcode project. Slightly simpler, but updates are also manual.
1414

15-
### Usage ###
15+
## Usage
1616

1717
* In storyboard add object in your NavigationController.
1818

@@ -31,9 +31,7 @@ or
3131
Implement UINavigationControllerDelegate in your ViewController:
3232

3333

34-
```
35-
#!swift
36-
34+
```swift
3735
func navigationController(navigationController: UINavigationController, animationControllerForOperation operation: UINavigationControllerOperation,
3836
fromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? {
3937

@@ -46,48 +44,39 @@ func navigationController(navigationController: UINavigationController, animatio
4644

4745
return animator
4846
}
49-
50-
5147
```
5248

5349

5450

5551

5652

57-
### Properties ###
58-
53+
## Properties
5954

60-
```
61-
#!swift
6255

56+
```swift
6357
internal let animationDuration = 1.0
6458
```
6559

6660

6761
Total animation duration
6862

69-
```
70-
#!swift
71-
63+
```swift
7264
internal let kCellAnimSmallDelta: Double = 0.01
73-
7465
```
7566

7667
Small delay between cell animations
7768

7869

79-
```
80-
#!swift
81-
70+
```swift
8271
internal let kCellAnimBigDelta: Double = 0.03
8372
```
8473

8574
Big delay between cell animations
8675

87-
### Requirements ###
76+
## Requirements
8877

8978
* iOS 7.0+
9079

91-
### License ###
80+
## License
9281

93-
Released under the MIT license. See the LICENSE file for more info.
82+
Released under the MIT license. See the LICENSE file for more info.

0 commit comments

Comments
 (0)