CoreStoreObjectValueDiff
public final class CoreStoreObjectValueDiff<V> where V : ImportableAttributeType
The object containing the changeset for an observed ValueContainer.Required and ValueContainer.Optional property.
-
Indicates the kind of change. See the comments for
NSObject.observeValue(forKeyPath:of:change:context:)for more information.Declaration
Swift
public let kind: NSKeyValueChange -
newValueandoldValuewill only be non-nil if.new/.oldis passed toobserve().Declaration
Swift
public private(set) lazy var oldValue: V? { get set } -
‘isPrior’ will be
trueif this change observation is being sent before the change happens, due to.priorbeing passed toobserve()Declaration
Swift
public let isPrior: Bool
View on GitHub
CoreStoreObjectValueDiff Class Reference