Skip to content

Commit

Permalink
Add link to KVO docs
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 9, 2024
1 parent ab48083 commit f6d5589
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/observer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ declare_class!(
///
/// We do this by subclassing, to allow the user to just store the layer as
/// `Retained<CAMetalLayer>`, and still have our observers work.
///
/// See the documentation on Key-Value Observing for details on how this works in general:
/// <https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/KeyValueObserving/KeyValueObserving.html>
pub(crate) struct ObserverLayer;

// SAFETY:
Expand Down

0 comments on commit f6d5589

Please sign in to comment.