From 5d6baa0399744f18b5bfefd536c516c432181b17 Mon Sep 17 00:00:00 2001 From: Richard Ross Date: Mon, 4 Jan 2016 15:16:28 -0800 Subject: [PATCH] Removed one last PF_GENERIC instance in PFObject.m, make PFUser use __kindof. --- Parse/PFObject.m | 2 +- Parse/PFUser.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Parse/PFObject.m b/Parse/PFObject.m index 9010c346f..73d12ee61 100644 --- a/Parse/PFObject.m +++ b/Parse/PFObject.m @@ -2277,7 +2277,7 @@ + (void)saveAllInBackground:(NSArray *)objects block:(PFBooleanResultBlock)block NSArray *uniqueObjects = [PFObjectBatchController uniqueObjectsArrayFromArray:deleteObjects usingFilter:^BOOL(PFObject *object) { return (object.objectId != nil); }]; - NSMutableArray PF_GENERIC(BFTask *) *validationTasks = [NSMutableArray array]; + NSMutableArray *> *validationTasks = [NSMutableArray array]; for (PFObject *object in uniqueObjects) { [validationTasks addObject:[object _validateDeleteAsync]]; } diff --git a/Parse/PFUser.h b/Parse/PFUser.h index 428d83137..76dac76f4 100644 --- a/Parse/PFUser.h +++ b/Parse/PFUser.h @@ -293,8 +293,8 @@ typedef void(^PFUserLogoutResultBlock)(NSError *__nullable error); @return A `BFTask` that is resolved to `PFUser` when logging in completes. */ -+ (BFTask *)logInWithAuthTypeInBackground:(NSString *)authType - authData:(NSDictionary *)authData; ++ (BFTask<__kindof PFUser *> *)logInWithAuthTypeInBackground:(NSString *)authType + authData:(NSDictionary *)authData; /** Links this user to a third party authentication library.