2015-04-23 22:55:40 +00:00
|
|
|
/// Protocol that requires its members to have a `layer`, `frame`, and `contentMode` property.
|
2015-01-23 00:02:08 +00:00
|
|
|
/// 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 }
|
2015-04-23 22:55:40 +00:00
|
|
|
var contentMode: UIViewContentMode { get }
|
2015-01-22 10:54:27 +00:00
|
|
|
}
|