pub unsafe trait NSObjectNSKeyValueObserving: ClassType {
    // Provided method
    unsafe fn observeValueForKeyPath_ofObject_change_context(
        &self,
        key_path: Option<&NSString>,
        object: Option<&AnyObject>,
        change: Option<&NSDictionary<NSKeyValueChangeKey, AnyObject>>,
        context: *mut c_void
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSKeyValueObserving only.
Expand description

Category “NSKeyValueObserving” on NSObject.

Provided Methods§

source

unsafe fn observeValueForKeyPath_ofObject_change_context( &self, key_path: Option<&NSString>, object: Option<&AnyObject>, change: Option<&NSDictionary<NSKeyValueChangeKey, AnyObject>>, context: *mut c_void )
where Self: Sized + Message,

Available on crate features NSDictionary and NSString only.

Object Safety§

This trait is not object safe.

Implementors§