Loads the cache nodes for the receiver.
- iOS 3.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Data
If an error occurs, upon return contains an
NSErrorobject that describes the problem.
YES if the cache nodes were loaded correctly, otherwise
You override this method to to load the data from the URL specified in
init and create cache nodes for the represented objects. You must respect the configuration specified for the store, as well as the options.
Any subclass of
NSAtomic must be able to handle being initialized with a URL pointing to a zero-length file. This serves as an indicator that a new store is to be constructed at the specified location and allows you to securely create reservation files in known locations which can then be passed to Core Data to construct stores. You may choose to create zero-length reservation files during
load:. If you do so, you must remove the reservation file if the store is removed from the coordinator before it is saved.
You must override this method.