docs/Classes/RAMFrameItemAnimation.html
public class RAMFrameItemAnimation: RAMItemAnimation
The RAMFrameItemAnimation class provides keyframe animation.
`
isDeselectAnimation
`
A Boolean value indicated plaing revers animation when UITabBarItem unselected, if false image change immediately, defalut value true
Swift
@IBInspectable public var isDeselectAnimation: Bool = true
`
imagesPath
`
path to array of image names from plist file
Swift
@IBInspectable public var imagesPath: String!
[
](#/public)
`
setAnimationImages(_:)
`
Set images for keyframe animation
Swift
public func setAnimationImages(images: Array<UIImage>)
| images |
images for keyframe animation
|
[
](#/RAMItemAnimationProtocol)
`
playAnimation(_:textLabel:)
`
Start animation, method call when UITabBarItem is selected
Swift
override public func playAnimation(icon : UIImageView, textLabel : UILabel)
| icon |
animating UITabBarItem icon
|
| textLabel |
animating UITabBarItem textLabel
|
`
deselectAnimation(_:textLabel:defaultTextColor:defaultIconColor:)
`
Start animation, method call when UITabBarItem is unselected
Swift
override public func deselectAnimation(icon : UIImageView, textLabel : UILabel, defaultTextColor : UIColor, defaultIconColor : UIColor)
| icon |
animating UITabBarItem icon
|
| textLabel |
animating UITabBarItem textLabel
|
| defaultTextColor |
default UITabBarItem text color
|
| defaultIconColor |
default UITabBarItem icon color
|
`
selectedState(_:textLabel:)
`
Method call when TabBarController did load
Swift
override public func selectedState(icon : UIImageView, textLabel : UILabel)
| icon |
animating UITabBarItem icon
|
| textLabel |
animating UITabBarItem textLabel
|
© 2016 AlexKalinkin. All rights reserved. (Last updated: 2016-06-10)
Generated by jazzy ♪♫ v0.5.0, a Realm project.