pub type XCKeyValueObservingExpectationHandler = *mut DynBlock<dyn Fn(NonNull<AnyObject>, NonNull<NSDictionary>) -> Bool>;Available on crate feature
block2 only.Expand description
A block to be invoked when a change is observed for the keyPath of the observed object.
Parameter observedObject: The observed object, provided to avoid block capture issues.
Parameter change: The KVO change dictionary.
Returns: Return YES if the expectation is fulfilled, NO if it is not.
See also Appleās documentation