CoreStoreObjectUnorderedDiff
public final class CoreStoreObjectUnorderedDiff<D> where D : CoreStoreObject
The object containing the changeset for an observed RelationshipContainer.ToManyUnordered
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
-
newValue
andoldValue
will only be non-nil if.new
/.old
is passed toobserve()
. In general, get the most up to date value by accessing it directly on the observed object instead.Declaration
Swift
public private(set) lazy var newValue: Set<D> { get set }
-
newValue
andoldValue
will only be non-nil if.new
/.old
is passed toobserve()
. In general, get the most up to date value by accessing it directly on the observed object instead.Declaration
Swift
public private(set) lazy var oldValue: Set<D> { get set }
-
‘isPrior’ will be
true
if this change observation is being sent before the change happens, due to.prior
being passed toobserve()
Declaration
Swift
public let isPrior: Bool