-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue 192 #193
Closed
Closed
Fixed issue 192 #193
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
*/ | ||
|
||
#import "Bolts.h" | ||
#import "BoltsVersion.h" | ||
|
||
NSInteger const kBFMultipleErrorsError = 80175001; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// BFAppLinkNavigationType.h | ||
// Bolts | ||
// | ||
// Created by Marcel Bradea on 2015-10-31. | ||
// Copyright © 2015 Parse Inc. All rights reserved. | ||
// | ||
|
||
/*! | ||
The result of calling navigate on a BFAppLinkNavigation | ||
*/ | ||
typedef NS_ENUM(NSInteger, BFAppLinkNavigationType) { | ||
/*! Indicates that the navigation failed and no app was opened */ | ||
BFAppLinkNavigationTypeFailure, | ||
/*! Indicates that the navigation succeeded by opening the URL in the browser */ | ||
BFAppLinkNavigationTypeBrowser, | ||
/*! Indicates that the navigation succeeded by opening the URL in an app on the device */ | ||
BFAppLinkNavigationTypeApp | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ | |
|
||
#import <Bolts/BFAppLinkNavigation.h> | ||
|
||
#import "BFAppLinkReturnToRefererViewDelegate.h" | ||
|
||
@class BFAppLinkReturnToRefererView; | ||
@class BFURL; | ||
|
||
|
@@ -22,25 +24,6 @@ typedef NS_ENUM(NSUInteger, BFIncludeStatusBarInSize) { | |
BFIncludeStatusBarInSizeAlways, | ||
}; | ||
|
||
/*! | ||
Protocol that a class can implement in order to be notified when the user has navigated back | ||
to the referer of an App Link. | ||
*/ | ||
@protocol BFAppLinkReturnToRefererViewDelegate <NSObject> | ||
|
||
/*! | ||
Called when the user has tapped inside the close button. | ||
*/ | ||
- (void)returnToRefererViewDidTapInsideCloseButton:(BFAppLinkReturnToRefererView *)view; | ||
|
||
/*! | ||
Called when the user has tapped inside the App Link portion of the view. | ||
*/ | ||
- (void)returnToRefererViewDidTapInsideLink:(BFAppLinkReturnToRefererView *)view | ||
link:(BFAppLink *)link; | ||
|
||
@end | ||
|
||
/*! | ||
Provides a UIView that displays a button allowing users to navigate back to the | ||
application that launched the App Link currently being handled, if the App Link | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't seem necessary, as it's only relevant for usage together with BFAppLinkReturnToRefererView. |
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// BFAppLinkReturnToRefererViewDelegate.h | ||
// Bolts | ||
// | ||
// Created by Marcel Bradea on 2015-10-31. | ||
// Copyright © 2015 Parse Inc. All rights reserved. | ||
// | ||
|
||
@class BFAppLinkReturnToRefererView; | ||
@class BFAppLink; | ||
|
||
/*! | ||
Protocol that a class can implement in order to be notified when the user has navigated back | ||
to the referer of an App Link. | ||
*/ | ||
@protocol BFAppLinkReturnToRefererViewDelegate <NSObject> | ||
|
||
/*! | ||
Called when the user has tapped inside the close button. | ||
*/ | ||
- (void)returnToRefererViewDidTapInsideCloseButton:(BFAppLinkReturnToRefererView *)view; | ||
|
||
/*! | ||
Called when the user has tapped inside the App Link portion of the view. | ||
*/ | ||
- (void)returnToRefererViewDidTapInsideLink:(BFAppLinkReturnToRefererView *)view | ||
link:(BFAppLink *)link; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still important to have.