AnyChainable
public protocol AnyChainable
Undocumented
-
chainValue(_:
Extension method_: ) 链式方式指定keyPath对应值,返回新对象
Declaration
Swift
public func chainValue<Value>( _ keyPath: WritableKeyPath<Self, Value>, _ value: Value ) -> Self
-
chainBlock(_:
Extension method) 链式方式调用句柄,返回新对象
Declaration
Swift
public func chainBlock( _ closure: (inout Self) -> Void ) -> Self
-
chainValue(_:
Extension method_: ) 链式方式指定keyPath对应值,返回自身
Declaration
Swift
@discardableResult public func chainValue<Value>( _ keyPath: ReferenceWritableKeyPath<Self, Value>, _ value: Value ) -> Self
-
chainBlock(_:
Extension method) 链式方式调用句柄,返回自身
Declaration
Swift
@discardableResult public func chainBlock( _ closure: (Self) -> Void ) -> Self