ObservedResults
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
@propertyWrapper
public struct ObservedResults<ResultType> : DynamicProperty, BoundCollection where ResultType : RealmSwiftObject, ResultType : ObjectKeyIdentifiable
A property wrapper type that retrieves results from a Realm.
The results use the realm configuration provided by
the environment value EnvironmentValues/realmConfiguration
.
-
Declaration
Swift
public mutating func update()