UIKitStructAssistant
@MainActor
public final class UIKitStructAssistant<TargetType> : ValueAssistant where TargetType : AnyObject
UIKitStructAssistant provides support for the UIKit structs UIEdgeInsets and UIOffset.
-
Declaration
Swift
@MainActor public var isAdditive: Bool -
Declaration
Swift
@MainActor public var additiveWeighting: Double { get set } -
Initializer.
Declaration
Swift
@MainActor public required init()
-
Declaration
Swift
@MainActor public func generateProperties<StateType>(targetObject target: TargetType, state: MotionState<TargetType, StateType>) throws -> [PropertyData<TargetType>] -
Declaration
Swift
@MainActor public func update(properties: [PropertyData<TargetType> : Double], targetObject: TargetType) -
Declaration
Swift
@MainActor public func supports(_ object: Any) -> Bool -
Declaration
Swift
@MainActor public func acceptsKeypath(_ object: AnyObject) -> Bool
-
Determines the type of struct represented by the supplied object.
Declaration
Swift
@MainActor public static func determineType(forValue value: Any) -> ValueStructTypes
View on GitHub