AttachmentDelegate
public protocol AttachmentDelegate : AnyObject
Delegate protocol 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, onStarting: ((URL) -> Void)?, onCompletion: @escaping (URL?, Error?) -> Void)