Contents

init(archivableObject:)

Creates an attachment from an object that conforms to NSSecureCoding.

Declaration

convenience init(archivableObject object: any NSSecureCoding)

Parameters

Discussion

Creates an attachment with a uniformTypeIdentifier of "``public.data".

See Also

Creating Attachments from Objects