Fixing property setters for authentication block properties
This commit is contained in:
parent
17f55849d9
commit
7f413b3c38
1 changed files with 2 additions and 2 deletions
|
|
@ -232,11 +232,11 @@ static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperat
|
|||
}
|
||||
|
||||
- (void)setAuthenticationAgainstProtectionSpaceBlock:(BOOL (^)(NSURLConnection *, NSURLProtectionSpace *))block {
|
||||
self.authenticationAgainstProtectionSpaceBlock = block;
|
||||
self.authenticationAgainstProtectionSpace = block;
|
||||
}
|
||||
|
||||
- (void)setAuthenticationChallengeBlock:(void (^)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge))block {
|
||||
self.authenticationChallengeBlock = block;
|
||||
self.authenticationChallenge = block;
|
||||
}
|
||||
|
||||
- (void)setState:(AFOperationState)state {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue