Skip to content

Commit 4f82e23

Browse files
committed
Merge remote-tracking branch 'origin/PinchPopTransition' into PinchPopTransition
2 parents ba82e74 + 00085cb commit 4f82e23

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,10 @@ Drag files in "Classes" folder into your project.
1919
![set the delegate](https://raw.githubusercontent.com/seedante/SDECollectionViewAlbumTransition/PinchPopTransition/Config2.png)
2020

2121

22-
- At the last, add several lines code in your UICollectionView's delegate:
22+
- At the last, add one line code in your UICollectionView's delegate:
2323

2424
override func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
2525
self.selectedIndexPath = indexPath
26-
let layoutAttributes = self.collectionView!.layoutAttributesForItemAtIndexPath(indexPath)
27-
let areaRect = self.collectionView!.convertRect(layoutAttributes!.frame, toView: self.collectionView!.superview)
28-
let toVC = ......
29-
toVC.coverRectInSuperview = areaRect
3026
...
3127
}
3228

0 commit comments

Comments
 (0)