@@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN
71
71
72
72
@return The task that has will a have `result` set to `PFUser` if operation succeeds.
73
73
*/
74
- + (BFTask PF_GENERIC ( PFUser *) *)logInInBackgroundWithReadPermissions:(nullable NSArray PF_GENERIC ( NSString *) *)permissions;
74
+ + (BFTask< PFUser *> *)logInInBackgroundWithReadPermissions : (nullable NSArray < NSString *> *)permissions ;
75
75
76
76
/* *
77
77
*Asynchronously* logs in a user using Facebook with read permissions.
@@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN
83
83
@param block The block to execute when the log in completes.
84
84
It should have the following signature: `^(PFUser *user, NSError *error)`.
85
85
*/
86
- + (void )logInInBackgroundWithReadPermissions:(nullable NSArray PF_GENERIC ( NSString *) *)permissions
86
+ + (void )logInInBackgroundWithReadPermissions : (nullable NSArray < NSString *> *)permissions
87
87
block : (nullable PFUserResultBlock)block ;
88
88
89
89
/* *
@@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN
96
96
97
97
@return The task that has will a have `result` set to `PFUser` if operation succeeds.
98
98
*/
99
- + (BFTask PF_GENERIC ( PFUser *) *)logInInBackgroundWithPublishPermissions:(nullable NSArray PF_GENERIC ( NSString *) *)permissions;
99
+ + (BFTask< PFUser *> *)logInInBackgroundWithPublishPermissions : (nullable NSArray < NSString *> *)permissions ;
100
100
101
101
/* *
102
102
*Asynchronously* logs in a user using Facebook with publish permissions.
@@ -108,7 +108,7 @@ NS_ASSUME_NONNULL_BEGIN
108
108
@param block The block to execute when the log in completes.
109
109
It should have the following signature: `^(PFUser *user, NSError *error)`.
110
110
*/
111
- + (void )logInInBackgroundWithPublishPermissions:(nullable NSArray PF_GENERIC ( NSString *) *)permissions
111
+ + (void )logInInBackgroundWithPublishPermissions : (nullable NSArray < NSString *> *)permissions
112
112
block : (nullable PFUserResultBlock)block ;
113
113
114
114
/* *
@@ -121,7 +121,7 @@ NS_ASSUME_NONNULL_BEGIN
121
121
122
122
@return The task that has will a have `result` set to `PFUser` if operation succeeds.
123
123
*/
124
- + (BFTask PF_GENERIC ( PFUser *) *)logInInBackgroundWithAccessToken:(FBSDKAccessToken *)accessToken;
124
+ + (BFTask< PFUser *> *)logInInBackgroundWithAccessToken : (FBSDKAccessToken *)accessToken ;
125
125
126
126
/* *
127
127
*Asynchronously* logs in a user using given Facebook Acess Token.
@@ -152,8 +152,8 @@ NS_ASSUME_NONNULL_BEGIN
152
152
153
153
@return The task that will have a `result` set to `@YES` if operation succeeds.
154
154
*/
155
- + (BFTask PF_GENERIC ( NSNumber *) *)linkUserInBackground:(PFUser *)user
156
- withReadPermissions:(nullable NSArray PF_GENERIC ( NSString *) *)permissions;
155
+ + (BFTask< NSNumber *> *)linkUserInBackground : (PFUser *)user
156
+ withReadPermissions : (nullable NSArray < NSString *> *)permissions ;
157
157
158
158
/* *
159
159
*Asynchronously* links Facebook with read permissions to an existing `PFUser`.
@@ -168,7 +168,7 @@ NS_ASSUME_NONNULL_BEGIN
168
168
It should have the following signature: `^(BOOL succeeded, NSError *error)`.
169
169
*/
170
170
+ (void )linkUserInBackground : (PFUser *)user
171
- withReadPermissions:(nullable NSArray PF_GENERIC ( NSString *) *)permissions
171
+ withReadPermissions : (nullable NSArray < NSString *> *)permissions
172
172
block : (nullable PFBooleanResultBlock)block ;
173
173
174
174
/* *
@@ -183,8 +183,8 @@ NS_ASSUME_NONNULL_BEGIN
183
183
184
184
@return The task that will have a `result` set to `@YES` if operation succeeds.
185
185
*/
186
- + (BFTask PF_GENERIC ( NSNumber *) *)linkUserInBackground:(PFUser *)user
187
- withPublishPermissions:(NSArray PF_GENERIC ( NSString *) *)permissions;
186
+ + (BFTask< NSNumber *> *)linkUserInBackground : (PFUser *)user
187
+ withPublishPermissions : (NSArray < NSString *> *)permissions ;
188
188
189
189
/* *
190
190
*Asynchronously* links Facebook with publish permissions to an existing `PFUser`.
@@ -199,7 +199,7 @@ NS_ASSUME_NONNULL_BEGIN
199
199
It should have the following signature: `^(BOOL succeeded, NSError *error)`.
200
200
*/
201
201
+ (void )linkUserInBackground : (PFUser *)user
202
- withPublishPermissions:(NSArray PF_GENERIC ( NSString *) *)permissions
202
+ withPublishPermissions : (NSArray < NSString *> *)permissions
203
203
block : (nullable PFBooleanResultBlock)block ;
204
204
205
205
/* *
@@ -214,7 +214,7 @@ NS_ASSUME_NONNULL_BEGIN
214
214
215
215
@return The task that will have a `result` set to `@YES` if operation succeeds.
216
216
*/
217
- + (BFTask PF_GENERIC ( NSNumber *) *)linkUserInBackground:(PFUser *)user withAccessToken:(FBSDKAccessToken *)accessToken;
217
+ + (BFTask< NSNumber *> *)linkUserInBackground : (PFUser *)user withAccessToken : (FBSDKAccessToken *)accessToken ;
218
218
219
219
/* *
220
220
*Asynchronously* links Facebook Access Token to an existing `PFUser`.
@@ -242,7 +242,7 @@ NS_ASSUME_NONNULL_BEGIN
242
242
@param user User to unlink from Facebook.
243
243
@return The task, that encapsulates the work being done.
244
244
*/
245
- + (BFTask PF_GENERIC ( NSNumber *) *)unlinkUserInBackground:(PFUser *)user;
245
+ + (BFTask< NSNumber *> *)unlinkUserInBackground : (PFUser *)user ;
246
246
247
247
/* *
248
248
Unlinks the `PFUser` from a Facebook account *asynchronously*.
0 commit comments