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