Skip to content

Commit f6d5589

Browse files
committed
Add link to KVO docs
1 parent ab48083 commit f6d5589

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/observer.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ declare_class!(
1515
///
1616
/// We do this by subclassing, to allow the user to just store the layer as
1717
/// `Retained<CAMetalLayer>`, and still have our observers work.
18+
///
19+
/// See the documentation on Key-Value Observing for details on how this works in general:
20+
/// <https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/KeyValueObserving/KeyValueObserving.html>
1821
pub(crate) struct ObserverLayer;
1922

2023
// SAFETY:

0 commit comments

Comments
 (0)