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