Make individual components delegate private

The `delegate` property should only be set on `[BITHockeyManager sharedHockeyManager]` which will then propagade it to all components. Setting the delegate individually per component could cause undefined behaviour.
This commit is contained in:
Andreas Linde
2014-06-18 15:52:56 +02:00
parent fbfd4ae0fb
commit 83b32ffe37
10 changed files with 69 additions and 70 deletions

View File

@@ -198,18 +198,6 @@ typedef NS_ENUM(NSUInteger, BITAuthenticatorAppRestrictionEnforcementFrequency)
*/
@property (nonatomic, copy) NSString *authenticationSecret;
/**
Delegate that can be used to do any last minute configurations on the
presented viewController.
The delegate is automatically set by using `[BITHockeyManager setDelegate:]`. You
should not need to set this delegate individually.
@see `[BITHockeyManager setDelegate:]`
@see BITAuthenticatorDelegate
*/
@property (nonatomic, weak) id<BITAuthenticatorDelegate> delegate;
#pragma mark - Device based identification