mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Add warnings to docs for threading, properly dispatch internally
This commit is contained in:
@@ -313,7 +313,7 @@ typedef NS_ENUM(NSUInteger, BITAuthenticatorAppRestrictionEnforcementFrequency)
|
||||
* @see authenticateInstallation
|
||||
* @see validateWithCompletion:
|
||||
*
|
||||
* @param completion Block being executed once identification completed
|
||||
* @param completion Block being executed once identification completed. Be sure to properly dispatch code to the main queue if necessary.
|
||||
*/
|
||||
- (void) identifyWithCompletion:(void(^)(BOOL identified, NSError *error)) completion;
|
||||
|
||||
@@ -342,7 +342,7 @@ typedef NS_ENUM(NSUInteger, BITAuthenticatorAppRestrictionEnforcementFrequency)
|
||||
* @see authenticateInstallation
|
||||
* @see identifyWithCompletion:
|
||||
*
|
||||
* @param completion Block being executed once validation completed
|
||||
* @param completion Block being executed once validation completed. Be sure to properly dispatch code to the main queue if necessary.
|
||||
*/
|
||||
- (void) validateWithCompletion:(void(^)(BOOL validated, NSError *error)) completion;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user