Add warnings to docs for threading, properly dispatch internally

This commit is contained in:
Lukas Spieß
2015-10-05 13:52:24 +02:00
parent 44b231225c
commit bccfc61a42
7 changed files with 23 additions and 12 deletions

View File

@@ -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;