Skip to content

Commit efdfcb7

Browse files
Huang-Liboheckj
authored andcommitted
Update reference.adoc
Correct protocol name
1 parent 0a37ce9 commit efdfcb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ Because the output type does not include what changes on the referenced object,
486486
In practice, this method is most frequently used by the SwiftUI framework.
487487
SwiftUI views use the `@ObservedObject` property wrapper to know when to invalidate and refresh views that reference classes implementing ObservableObject.
488488

489-
Classes implementing ObservedObject are also expected to use @Published to provide notifications of changes on specific properties, or to optionally provide a custom announcement that indicates the object has changed.
489+
Classes implementing `ObservableObject` are also expected to use @Published to provide notifications of changes on specific properties, or to optionally provide a custom announcement that indicates the object has changed.
490490

491491
It can also be used locally to watch for updates to a reference-type model.
492492

0 commit comments

Comments
 (0)