diff options
author | Jesse Tipton <jesse@jessetipton.com> | 2018-09-23 23:02:30 -0700 |
---|---|---|
committer | HoĆ V. DINH <dinh.viet.hoa@gmail.com> | 2018-09-23 23:02:30 -0700 |
commit | 1e889f7e441d8540bc55c131b891a338199ad207 (patch) | |
tree | 22a77b7108ee11b040e96e281e17f997c6dc1126 /src/objc | |
parent | c9a010ed60557a6f48613f9da3bafa97f6192d08 (diff) |
Add type annotation to MCOIMAPFetchFoldersOperation (#1784)
Diffstat (limited to 'src/objc')
-rw-r--r-- | src/objc/imap/MCOIMAPFetchFoldersOperation.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/objc/imap/MCOIMAPFetchFoldersOperation.h b/src/objc/imap/MCOIMAPFetchFoldersOperation.h index a2954d29..a8e4b1fe 100644 --- a/src/objc/imap/MCOIMAPFetchFoldersOperation.h +++ b/src/objc/imap/MCOIMAPFetchFoldersOperation.h @@ -14,6 +14,8 @@ #import <MailCore/MCOIMAPBaseOperation.h> +@class MCOIMAPFolder; + NS_ASSUME_NONNULL_BEGIN @interface MCOIMAPFetchFoldersOperation : MCOIMAPBaseOperation @@ -27,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN - On failure, `error` will be set with `MCOErrorDomain` as domain and an error code available in `MCOConstants.h`, `folders` will be nil */ -- (void) start:(void (^)(NSError * __nullable error, NSArray * /* MCOIMAPFolder */ __nullable folders))completionBlock; +- (void) start:(void (^)(NSError * __nullable error, NSArray<MCOIMAPFolder *> * __nullable folders))completionBlock; @end NS_ASSUME_NONNULL_END |