Skip to content

Commit 2b039f4

Browse files
committed
remove BUO deprecation
1 parent 1bf32ce commit 2b039f4

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

Branch-SDK/Branch-SDK/BranchUniversalObject.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ typedef NS_ENUM(NSInteger, ContentIndexMode) {
4848

4949
- (UIActivityItemProvider *)getBranchActivityItemWithLinkProperties:(BranchLinkProperties *)linkProperties;
5050

51-
- (void)showShareSheetWithShareText:(NSString *)shareText andCallback:(callback)callback __attribute__((deprecated(("This method has been deprecated. Use -[showShareSheetWithShareText:completion:] instead."))));
52-
- (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties andShareText:(NSString *)shareText fromViewController:(UIViewController *)viewController andCallback:(callback)callback __attribute__((deprecated(("This method has been deprecated. Use -[showShareSheetWithLinkProperties:andShareText:fromViewController:viewController:completion:] instead."))));
5351
- (void)showShareSheetWithShareText:(NSString *)shareText completion:(shareCompletion)completion;
5452
- (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties andShareText:(NSString *)shareText fromViewController:(UIViewController *)viewController completion:(shareCompletion)completion;
5553
//iPad

Branch-SDK/Branch-SDK/BranchUniversalObject.m

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -208,19 +208,6 @@ - (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties
208208
}
209209
}
210210

211-
212-
- (void)showShareSheetWithShareText:(NSString *)shareText andCallback:(callback)callback {
213-
[self showShareSheetWithLinkProperties:nil andShareText:shareText fromViewController:nil andCallback:callback];
214-
}
215-
216-
- (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties andShareText:(NSString *)shareText fromViewController:(UIViewController *)viewController andCallback:(callback)callback {
217-
[self showShareSheetWithLinkProperties:linkProperties andShareText:shareText fromViewController:viewController completion:^(NSString *activityType, BOOL completed) {
218-
if (callback) {
219-
callback();
220-
}
221-
}];
222-
}
223-
224211
- (void)listOnSpotlight {
225212
[self listOnSpotlightWithCallback:nil];
226213
}

0 commit comments

Comments
 (0)