RAMAnimatedTabBarController的坑

https://github.com/Ramotion/animated-tab-bar

1.Create a new UITabBarController in your storyboard or nib.

2.Set the class of the UITabBarController to RAMAnimatedTabBarController in your Storyboard or nib.

3.For each UITabBarItem, set the class to RAMAnimatedTabBarItem.

4.Add a custom image icon for each RAMAnimatedTabBarItem

5.Add animation for each RAMAnimatedTabBarItem :

a.drag and drop an NSObject item into your ViewController

b.set its class to ANIMATION_CLASS (where ANIMATION_CLASS is the class name of the animation you want to use)

c.connect the outlet animation in RAMAnimatedTabBarItem to your ANIMATION_CLASS

简单好用,但是refactor storyboard会crash,因为main storyboard和refactor后的storyboard的tab会无法继承问题

你可能感兴趣的:(RAMAnimatedTabBarController的坑)