init(url:readOnly:)
Creates the attachment object from the specified disk image.
Declaration
init(url: URL, readOnly: Bool) throwsParameters
Return Value
In Swift the methods returns an attachment object; in Objective-C the methods returns an attachment object on success, or nil if an error occurred