mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
52ccd56888
Прогнал форматтер на всех файлах.
21 lines
397 B
Swift
21 lines
397 B
Swift
import Foundation
|
|
|
|
import Base
|
|
import LayoutKit
|
|
|
|
public protocol AnimatableViewFactory: AnyObject {
|
|
func createAnimatableView(withMode mode: AnimationRepeatMode, repeatCount count: Float)
|
|
-> AnimatableView
|
|
}
|
|
|
|
public protocol AnimatableView: ViewType {
|
|
func play()
|
|
func setSource(_ source: AnimationSourceType)
|
|
}
|
|
|
|
@frozen
|
|
public enum AnimationRepeatMode {
|
|
case restart
|
|
case reverse
|
|
}
|