Contents

isTransient

A Boolean value that indicates whether the receiver is transient.

Declaration

var isTransient: Bool { get set }

Discussion

true if the receiver is transient, otherwise false. The transient flag specifies whether or not a property’s value is ignored when an object is saved to a persistent store. Transient properties are not saved to the persistent store, but are still managed for undo, redo, validation, and so on.

Special Considerations

Setting this property raises an exception if the receiver’s model has been used by an object graph manager.

See Also

Accessing Features of a Property