CGStructAssistant
@MainActor
public final class CGStructAssistant : ValueAssistant
CGStructAssistant provides support for several Core Graphics struct types, including CGPoint
, CGSize
, CGRect
, CGVector
, CGAffineTransform
, as well as QuartzCore’s CATransform3D
type. It also provides support for the NSNumber
type.
-
Declaration
Swift
@MainActor public var additive: Bool
-
Declaration
Swift
@MainActor public var additiveWeighting: Double { get set }
-
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