Key-Value Observing (KVO)

GPTKB entity

Statements (22)
Predicate Object
gptkbp:instanceOf programming technique
gptkbp:allows objects to be notified of changes to properties of other objects
gptkbp:category observer pattern
gptkbp:documentation https://developer.apple.com/documentation/swift/cocoa_design_patterns/using_key-value_observing_in_swift
gptkbp:enables observation of property changes
gptkbp:hasMethod addObserver:forKeyPath:options:context:
observeValueForKeyPath:ofObject:change:context:
removeObserver:forKeyPath:
https://www.w3.org/2000/01/rdf-schema#label Key-Value Observing (KVO)
gptkbp:introducedIn gptkb:Mac_OS_X_10.3
gptkbp:provides Apple frameworks
gptkbp:relatedTo gptkb:Key-Value_Coding_(KVC)
gptkbp:requires compliance with KVC
gptkbp:usedFor data binding
UI updates
model-view synchronization
gptkbp:usedIn gptkb:Objective-C
gptkb:Swift
gptkb:Cocoa_Touch
Cocoa
gptkbp:bfsParent gptkb:KVC_(Key-Value_Coding)
gptkbp:bfsLayer 7