SmartPublished
@propertyWrapper
public struct SmartPublished<Value> : PropertyWrapperable where Value : Decodable, Value : Encodable
extension SmartPublished: Codable
Undocumented
-
Undocumented
Declaration
Swift
public var wrappedValue: Value { get set }
-
Undocumented
Declaration
Swift
public init(wrappedValue: Value)
-
Undocumented
Declaration
Swift
public static func createInstance(with value: Any) -> SmartPublished?
-
Declaration
Swift
public func wrappedValueDidFinishMapping() -> SmartPublished<Value>?
-
The publisher that exposes the wrapped value’s changes
Declaration
Swift
public var projectedValue: Publisher { get }
-
The publisher that broadcasts changes to the wrapped value.
See moreDeclaration
Swift
public struct Publisher : Combine.Publisher
-
Custom subscript for property wrapper integration with ObservableObject.
Declaration
Swift
public static subscript<OuterSelf: ObservableObject>( _enclosingInstance observed: OuterSelf, wrapped wrappedKeyPath: ReferenceWritableKeyPath<OuterSelf, Value>, storage storageKeyPath: ReferenceWritableKeyPath<OuterSelf, Self> ) -> Value
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws