AnimatableIgnored()
An accessor macro that marks a property of a type to be excluded from the animatableData synthesis:
Declaration
@attached(accessor, names: named(willSet)) macro AnimatableIgnored()Overview
@Animatable
struct CoolShape: Shape {
var width: CGFloat
var height: CGFloat
@AnimatableIgnored var isVisible: Bool
// ...
}In the above example, the isVisible property of CoolShape will not be participating in the synthesis of animatableData.