Skip to content

SettableFlakeProperty

Protocol used to enable FlakeRepresentable objects to trigger setProperties Messages for properties wrapped with PropertyWrappers like FlakePropertyWrapper or ReadOnlyFlakePropertyWrapper

swift
protocol SettableFlakeProperty : ReadableFlakeProperty

Instance Properties

containingObjectUpdater

swift
var containingObjectUpdater: ([FlakePropertyProtocol]) -> Void

This variable will be filled when a new FlakeRepresentable will be created, it should be triggered after a successfull result in the PropertyResultHandler of setter Setting a property might lead to changes to other Porperties. This functions make sure those changes a send to the correct properties.

Instance Methods

registerPropertySetter(_😃

swift
func registerPropertySetter((FlakePropertyProtocol) async throws -> [FlakePropertyProtocol])