Encodes the record’s system fields using the specified archiver.
- iOS 8.0+
- macOS 10.10+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
An archiver object.
Use this method to encode only the system-provided metadata associated with the record. Every record has system-defined keys that correspond to metadata such as the record ID, record type, creation date, and so on. The method encodes those system-defined keys in the specified archiver. This method does not specify any keys you added to the record. It also does not encode the keys returned by the
You might use this method when you want to store only the system metadata because the actual record data is stored elsewhere.