Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSKeyValueObserverMBS class.
NSKeyValueObserverMBS.observedValueForKeyPathChanged(keyPath as string, target as Variant, change as dictionary, context as Variant, ChangeNSDictionaryRef as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacBase Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
keyPath: The key path, relative to object, to the value that has changed.
object: The source object of the key path keyPath.
change: A dictionary that describes the changes that have been made to the value of the property at the key path keyPath relative to object. Entries are described in Keys used by the change dictionary.
context: The value that was provided when the receiver was registered to receive key-value observation notifications.
The receiver must be registered as an observer for the specified keyPath and object.
ChangeNSDictionaryRef provides for debugging the reference to the original NSDictionary object.
Some examples using this event:
The items on this page are in the following plugins: MBS MacBase Plugin.