COAttachmentID class documentation
COAttachmentID : NSObject <NSCopying>Overview
Can appear as a value object inside a COItem.
Default
- - (instancetype) initWithData: (NSData *)aData
Initializes and returns an attachmend ID based on the given hash.
You should almost always use -[COSSQLiteStore importAttachmentFromURL:] to get an attachment ID, and let the store import the original attachment.
The hash represents the attachment in a unique way. For example, you can pass a hash generated from the attachment content.