Gifu/Source/Animatable.swift

7 lines
241 B
Swift
Raw Normal View History

2015-01-23 00:02:08 +00:00
/// Protocol that requires its members to have a `layer` and a `frame` property.
/// Classes confirming to this protocol can serve as a delegate to `Animator`.
2015-01-22 10:54:27 +00:00
protocol Animatable {
var layer: CALayer { get }
var frame: CGRect { get }
}