Files
denlvovich e001d74afe Update to VGSL6.0
4f8b5f480ade3f347d5f0a2d01a1618069bcb846
2024-07-12 20:33:42 +03:00

21 lines
397 B
Swift

import Foundation
import LayoutKit
import VGSL
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
}