aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jesse Tipton <jesse@jessetipton.com>2018-09-23 23:02:30 -0700
committerGravatar HoĆ  V. DINH <dinh.viet.hoa@gmail.com>2018-09-23 23:02:30 -0700
commit1e889f7e441d8540bc55c131b891a338199ad207 (patch)
tree22a77b7108ee11b040e96e281e17f997c6dc1126
parentc9a010ed60557a6f48613f9da3bafa97f6192d08 (diff)
Add type annotation to MCOIMAPFetchFoldersOperation (#1784)
-rw-r--r--src/objc/imap/MCOIMAPFetchFoldersOperation.h4
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