Skip to content

Commit 22ade21

Browse files
committed
CORE-1768 make method more swift friendly
1 parent a21e017 commit 22ade21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Branch-SDK/Branch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
692692
Otherwise the prompt will not display and the completion will be called with current status.
693693
This will inflate the number of OPT_IN and OPT_OUT events tracked by Branch.
694694
*/
695-
- (void)handleOptInStatus:(unsigned long)status;
695+
- (void)handleOptInStatus:(NSUInteger)status;
696696

697697
/**
698698
Set time window for SKAdNetwork callouts. By default, Branch limits calls to SKAdNetwork to within 24 hours after first install.

Branch-SDK/Branch.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ - (void)setAppClipAppGroup:(NSString *)appGroup {
970970
[BNCAppGroupsData shared].appGroup = appGroup;
971971
}
972972

973-
- (void)handleOptInStatus:(unsigned long)status {
973+
- (void)handleOptInStatus:(NSUInteger)status {
974974
BranchEvent *event;
975975
switch (status) {
976976
case 2:

0 commit comments

Comments
 (0)