ExpandableTransition
ExpandableTransition copied to clipboard
Simple expandable view transition style in Swift
ExpandableViewTransition
To Do
- [x] Push from collection view to view controller like cell expanded
- [x] Provide delegate for each transition state
- [x] Show or hide expanded view
- [x] Install with Carthage.
- [ ] Install with Cocoapods
- [ ] Custom transition
##Installation
Carthage
github "ambas/ExpandableTransition"
##Usage
- import ExpandableViewTransition
- In UICollectionViewController set self.navigationviewControllerDelegate to
let delegateHolder = CENavigationControllerDelegate(isHideExpandedView: false)
self.navigationController?.delegate = delegateHolder
- Implement
CEBaseViewControllerProtocol
in your UICollectionViewController - If you want to do something when transitioning at destination view controller just implement
CEDestinationViewControllerProtocol
in your destination view controller