-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathTLLayoutTransitioning.podspec
29 lines (24 loc) · 2.09 KB
/
TLLayoutTransitioning.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Pod::Spec.new do |s|
s.name = "TLLayoutTransitioning"
s.version = "1.0.10"
s.summary = "Enhanced transitioning between UICollectionView layouts in iOS."
s.description = <<-DESC
TLLayoutTransitioning provides a `TLLayoutTransition` transition layout subclass and a `UICollectionView+TLTransitioning` category that combine to solve a few problems with collection view layout transitioning:
1. `UICollectionViewLayoutTransition` does not handle content offset well, often leaving cells where you don't want them. `TLTransitionLayout` provides elegant control of content offset with Minimal, Visible, Center, Top, Left, Bottom or Right placement options relative to one or more index paths.
2. `UICollectionViewLayoutTransition` does not support supplementary views. `TLTransitionLayout` provides support for any supplementary view kinds specified in the initializer.
3. `-[UICollectionView setCollectionViewLayout:animated:completion]` has [serious known bugs][3] in iOS7 and does not provide any animation options. TLLayoutTransitioning provides a robust alternative to this API with support for animation duration, 30+ easing curves and content offset control. This is done by using `CADisplayLink` to drive an interactive `TLTransitionLayout` as a non-interactive animation.
Check out the demos in the Examples workspace!
Changes in 1.0.10
* Move c function declarations out of interface to make Swift happy
DESC
s.homepage = "https://github.com/wtmoose/TLLayoutTransitioning"
s.license = { :type => "MIT" }
s.author = { "wtmoose" => "[email protected]" }
s.source = { :git => "https://github.com/wtmoose/TLLayoutTransitioning.git", :tag => '1.0.10' }
s.platform = :ios, '7.0'
s.ios.deployment_target = '7.0'
s.source_files = 'TLLayoutTransitioning/**/*.{h,m,c}'
s.dependency 'AHEasing'
s.frameworks = 'UIKit', 'QuartzCore', 'Foundation'
s.requires_arc = true
end