AttachmentDelegate
public protocol AttachmentDelegate : AnyObject
Delegate protocl defines how to upload and remove attachments.
-
delete attachment
Declaration
Swift
func delete(url: URL, onCompletion: @escaping (URL, Error?) -> Void)
-
upload attachment
Declaration
Swift
func upload(contentFrom provider: NSItemProvider, onCompletion: @escaping (URL?, Error?) -> Void)