Skip to content

Commit d58fa5b

Browse files
committed
add nullability type annotations to callback blocks
1 parent b150555 commit d58fa5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Branch-SDK/Branch-SDK/BranchUniversalObject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
@class BranchLinkProperties;
1313

14-
typedef void (^callback) ();
15-
typedef void (^shareCompletion) (NSString *activityType, BOOL completed);
14+
typedef void (^_Nullable callback) (); // TO BE REMOVED: I don't this called anywhere, shall I remove it?
15+
typedef void (^shareCompletion) (NSString *_Nonnull activityType, BOOL completed);
1616

1717
typedef NS_ENUM(NSInteger, ContentIndexMode) {
1818
ContentIndexModePublic,

0 commit comments

Comments
 (0)