mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fix documentation formatting of sample code
This commit is contained in:
parent
7dfa7f1520
commit
69d1ee476f
@ -143,29 +143,29 @@ typedef void(^tValidationCompletion)(BOOL validated, NSError *error);
|
|||||||
@property (nonatomic, strong) NSURL *webpageURL;
|
@property (nonatomic, strong) NSURL *webpageURL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Should be used by the app-delegate to forward handle application:openURL:sourceApplication:annotation: calls
|
Should be used by the app-delegate to forward handle application:openURL:sourceApplication:annotation: calls
|
||||||
*
|
|
||||||
* Sample usage (in AppDelegate):
|
Sample usage (in AppDelegate):
|
||||||
*
|
|
||||||
* - (BOOL)application:(UIApplication *)application
|
- (BOOL)application:(UIApplication *)application
|
||||||
* openURL:(NSURL *)url
|
openURL:(NSURL *)url
|
||||||
* sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
|
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
|
||||||
* if ([[BITHockeyManager sharedHockeyManager].authenticator handleOpenURL:url
|
if ([[BITHockeyManager sharedHockeyManager].authenticator handleOpenURL:url
|
||||||
* sourceApplication:sourceApplication
|
sourceApplication:sourceApplication
|
||||||
* annotation:annotation]) {
|
annotation:annotation]) {
|
||||||
* return YES;
|
return YES;
|
||||||
* } else {
|
} else {
|
||||||
* //do your own URL handling, return appropriate valu
|
//do your own URL handling, return appropriate valu
|
||||||
* }
|
}
|
||||||
* return NO;
|
return NO;
|
||||||
* }
|
}
|
||||||
*
|
|
||||||
* @param url The URL that was passed to the app
|
@param url The URL that was passed to the app
|
||||||
* @param sourceApplication sourceApplication that was passed to the app
|
@param sourceApplication sourceApplication that was passed to the app
|
||||||
* @param annotation annotation that was passed to the app
|
@param annotation annotation that was passed to the app
|
||||||
*
|
|
||||||
* @return YES if the URL request was handled, NO if the URL could not be handled/identified
|
@return YES if the URL request was handled, NO if the URL could not be handled/identified
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
- (BOOL) handleOpenURL:(NSURL *) url
|
- (BOOL) handleOpenURL:(NSURL *) url
|
||||||
sourceApplication:(NSString *) sourceApplication
|
sourceApplication:(NSString *) sourceApplication
|
||||||
|
Loading…
x
Reference in New Issue
Block a user