A Boolean value that indicates whether the managed object is a fault.
- iOS 3.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Data
YES if the receiver is a fault, otherwise
NO. Knowing whether an object is a fault is useful in many situations when computations are optional. It can also be used to avoid growing the object graph unnecessarily (which may improve performance as it can avoid time-consuming fetches from data stores).
If this property is
NO, then the receiver's data must be in memory. However, if this property is
YES, it does not mean that the data is not in memory. The data may be in memory, or it may not, depending on many factors influencing caching.
If the receiver is a fault, accessing this property does not cause it to fire.