-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Gatti
committed
Jun 17, 2015
1 parent
096a3d2
commit ad18471
Showing
54 changed files
with
7,584 additions
and
123 deletions.
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
Binary file not shown.
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,49 @@ | ||
/* | ||
* Copyright (c) 2014, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
*/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
/*! The version of the App Link protocol that this library supports */ | ||
FOUNDATION_EXPORT NSString *const BFAppLinkVersion; | ||
|
||
/*! | ||
Contains App Link metadata relevant for navigation on this device | ||
derived from the HTML at a given URL. | ||
*/ | ||
@interface BFAppLink : NSObject | ||
|
||
/*! | ||
Creates a BFAppLink with the given list of BFAppLinkTargets and target URL. | ||
Generally, this will only be used by implementers of the BFAppLinkResolving protocol, | ||
as these implementers will produce App Link metadata for a given URL. | ||
@param sourceURL the URL from which this App Link is derived | ||
@param targets an ordered list of BFAppLinkTargets for this platform derived | ||
from App Link metadata. | ||
@param webURL the fallback web URL, if any, for the app link. | ||
*/ | ||
+ (instancetype)appLinkWithSourceURL:(NSURL *)sourceURL | ||
targets:(NSArray *)targets | ||
webURL:(NSURL *)webURL; | ||
|
||
/*! The URL from which this BFAppLink was derived */ | ||
@property (nonatomic, strong, readonly) NSURL *sourceURL; | ||
|
||
/*! | ||
The ordered list of targets applicable to this platform that will be used | ||
for navigation. | ||
*/ | ||
@property (nonatomic, copy, readonly) NSArray *targets; | ||
|
||
/*! The fallback web URL to use if no targets are installed on this device. */ | ||
@property (nonatomic, strong, readonly) NSURL *webURL; | ||
|
||
@end |
Oops, something went wrong.