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 }
|
|
|
|
}
|