Relative Content

Tag Archive for iosmacoscocoacore-data

What is CoreData faulting?

Can any one explain what coredata faulting means? I understood that it’s a mechanism to reduce memory. But my question is, if when we try to use a faulted object, do we need to call any refresh methods or will CoreData picks the values for us? If CoreData handles it for us, what will happen if the faulted object is deleted from actual persistent store and we try to access it through faulted object? Will it throw any exception?

What is CoreData faulting?

Can any one explain what coredata faulting means? I understood that it’s a mechanism to reduce memory. But my question is, if when we try to use a faulted object, do we need to call any refresh methods or will CoreData picks the values for us? If CoreData handles it for us, what will happen if the faulted object is deleted from actual persistent store and we try to access it through faulted object? Will it throw any exception?