Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.23 KB

File metadata and controls

49 lines (40 loc) · 1.23 KB

RPAnimatedTable 😎


Roppongi Animated Table 👻

Usage

initialize

let vc = RPAnimatedTableViewController()
vc.animatedType = .Spring

You need to set animatedType.

RPAnimatedTableViewController

class RPAnimatedTableViewController: UITableViewController {
}

You need to inherit RPAnimatedTableViewController.

Animation Start 🎉

class RPAnimatedTableViewController: UITableViewController {
    var animation = RPTableAnimation()
    
    override func viewWillAppear(animated: Bool) {
        animation.animateTable(animatedTableViewController: self, animatedType: animatedType)
    }
}

Document

Animation Type

enum RPAnimatedTableType {
    case Spring
    case FadeIn
}

Hierarchical timing

RPAnimationTable supports the information hierarchy. You can easily understand which cell the most important.

Check it out 🎤
Meaningful transitions - Animation - Google design guidelines http://www.google.com/design/spec/animation/meaningful-transitions.html#meaningful-transitions-hierarchical-timing

TO DO

implement for collectionView. 🙀