UIKitStructAssistant
@MainActor
public final class UIKitStructAssistant : ValueAssistant
UIKitStructAssistant provides support for the UIKit structs UIEdgeInsets
and UIOffset
.
-
Declaration
Swift
@MainActor public var additive: Bool
-
Declaration
Swift
@MainActor public var additiveWeighting: Double { get set }
-
Initializer.
Declaration
Swift
@MainActor public required init()
-
Declaration
Swift
@MainActor public func generateProperties(targetObject target: AnyObject, propertyStates: PropertyStates) throws -> [PropertyData]
-
Declaration
Swift
@MainActor public func retrieveValue(inObject object: Any, keyPath path: String) throws -> Double?
-
Declaration
Swift
@MainActor public func calculateValue(forProperty property: PropertyData, newValue: Double) -> NSObject?
-
Declaration
Swift
@MainActor public func updateValue(inObject object: Any, newValues: Dictionary<String, Double>) -> NSObject?
-
Declaration
Swift
@MainActor public func supports(_ object: AnyObject) -> Bool
-
Declaration
Swift
@MainActor public func acceptsKeypath(_ object: AnyObject) -> Bool
-
Determines the type of struct represented by a NSValue object.
Declaration
Swift
@MainActor public static func determineType(forValue value: NSValue) -> ValueStructTypes