@@ -210,7 +210,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
210
210
/* !
211
211
@abstract Clears any changes to this object's key that were done after last successful save and sets it back to the
212
212
server state.
213
-
213
+
214
214
@param key The key to revert changes for.
215
215
*/
216
216
- (void )revertObjectForKey : (NSString *)key ;
@@ -316,7 +316,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
316
316
317
317
@returns The task that encapsulates the work being done.
318
318
*/
319
- - (BFTask *)saveInBackground ;
319
+ - (BFTask PF_GENERIC ( NSNumber *) *)saveInBackground;
320
320
321
321
/* !
322
322
@abstract Saves the `PFObject` *asynchronously* and executes the given callback block.
@@ -354,7 +354,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
354
354
355
355
@returns The task that encapsulates the work being done.
356
356
*/
357
- - (BFTask *)saveEventually ;
357
+ - (BFTask PF_GENERIC ( NSNumber *) *)saveEventually;
358
358
359
359
/* !
360
360
@abstract Saves this object to the server at some unspecified time in the future,
@@ -406,7 +406,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
406
406
407
407
@returns The task that encapsulates the work being done.
408
408
*/
409
- + (BFTask *)saveAllInBackground : (PF_NULLABLE NSArray *)objects ;
409
+ + (BFTask PF_GENERIC ( NSNumber *) *)saveAllInBackground:(PF_NULLABLE NSArray *)objects;
410
410
411
411
/* !
412
412
@abstract Saves a collection of objects all at once `asynchronously` and executes the block when done.
@@ -460,7 +460,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
460
460
@param objects The array of objects to delete.
461
461
@returns The task that encapsulates the work being done.
462
462
*/
463
- + (BFTask *)deleteAllInBackground : (PF_NULLABLE NSArray *)objects ;
463
+ + (BFTask PF_GENERIC ( NSNumber *) *)deleteAllInBackground:(PF_NULLABLE NSArray *)objects;
464
464
465
465
/* !
466
466
@abstract Deletes a collection of objects all at once *asynchronously* and executes the block when done.
@@ -569,7 +569,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
569
569
570
570
@returns The task that encapsulates the work being done.
571
571
*/
572
- - (BFTask *)fetchInBackground ;
572
+ - (BFTask PF_GENERIC (__kindof PFObject *) *)fetchInBackground;
573
573
574
574
/* !
575
575
@abstract Fetches the PFObject *asynchronously* and executes the given callback block.
@@ -596,7 +596,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
596
596
597
597
@returns The task that encapsulates the work being done.
598
598
*/
599
- - (BFTask *)fetchIfNeededInBackground ;
599
+ - (BFTask PF_GENERIC (__kindof PFObject *) *)fetchIfNeededInBackground;
600
600
601
601
/* !
602
602
@abstract Fetches the `PFObject` data *asynchronously* if <isDataAvailable> is `NO`, then calls the callback block.
@@ -659,7 +659,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
659
659
660
660
@returns The task that encapsulates the work being done.
661
661
*/
662
- + (BFTask *) fetchAllInBackground : (PF_NULLABLE NSArray *)objects ;
662
+ + (BFTask PF_GENERIC ( NSArray <__kindof PFObject *> *)*) fetchAllInBackground:(PF_NULLABLE NSArray PF_GENERIC (PFObject *) *)objects;
663
663
664
664
/* !
665
665
@abstract Fetches all of the `PFObject` objects with the current data from the server *asynchronously*
@@ -694,7 +694,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
694
694
695
695
@returns The task that encapsulates the work being done.
696
696
*/
697
- + (BFTask *) fetchAllIfNeededInBackground : (PF_NULLABLE NSArray *)objects ;
697
+ + (BFTask PF_GENERIC ( NSArray <__kindof PFObject *> *)*) fetchAllIfNeededInBackground:(PF_NULLABLE NSArray PF_GENERIC (PFObject *) *)objects;
698
698
699
699
/* !
700
700
@abstract Fetches all of the PFObjects with the current data from the server *asynchronously*
@@ -749,7 +749,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
749
749
750
750
@returns The task that encapsulates the work being done.
751
751
*/
752
- - (BFTask *)fetchFromLocalDatastoreInBackground ;
752
+ - (BFTask PF_GENERIC (__kindof PFObject *) *)fetchFromLocalDatastoreInBackground;
753
753
754
754
/* !
755
755
@abstract *Asynchronously* loads data from the local datastore into this object,
@@ -785,7 +785,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
785
785
786
786
@returns The task that encapsulates the work being done.
787
787
*/
788
- - (BFTask *)deleteInBackground ;
788
+ - (BFTask PF_GENERIC ( NSNumber *) *)deleteInBackground;
789
789
790
790
/* !
791
791
@abstract Deletes the `PFObject` *asynchronously* and executes the given callback block.
@@ -824,7 +824,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
824
824
825
825
@returns The task that encapsulates the work being done.
826
826
*/
827
- - (BFTask *)deleteEventually ;
827
+ - (BFTask PF_GENERIC ( NSNull *) *)deleteEventually;
828
828
829
829
// /--------------------------------------
830
830
// / @name Dirtiness
@@ -847,7 +847,6 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
847
847
*/
848
848
- (BOOL )isDirtyForKey : (NSString *)key ;
849
849
850
-
851
850
// /--------------------------------------
852
851
// / @name Pinning
853
852
// /--------------------------------------
@@ -934,7 +933,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
934
933
@see unpinInBackground
935
934
@see PFObjectDefaultPin
936
935
*/
937
- - (BFTask *)pinInBackground ;
936
+ - (BFTask PF_GENERIC ( NSNumber *) *)pinInBackground;
938
937
939
938
/* !
940
939
@abstract *Asynchronously* stores the object and every object it points to in the local datastore, recursively,
@@ -967,7 +966,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
967
966
968
967
@see unpinInBackgroundWithName:
969
968
*/
970
- - (BFTask *)pinInBackgroundWithName : (NSString *)name ;
969
+ - (BFTask PF_GENERIC ( NSNumber *) *)pinInBackgroundWithName:(NSString *)name;
971
970
972
971
/* !
973
972
@abstract *Asynchronously* stores the object and every object it points to in the local datastore, recursively.
@@ -1079,7 +1078,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
1079
1078
@see unpinAllInBackground:
1080
1079
@see PFObjectDefaultPin
1081
1080
*/
1082
- + (BFTask *) pinAllInBackground : (PF_NULLABLE NSArray *)objects ;
1081
+ + (BFTask PF_GENERIC ( NSNumber *)*) pinAllInBackground:(PF_NULLABLE NSArray PF_GENERIC (PFObject *) *)objects;
1083
1082
1084
1083
/* !
1085
1084
@abstract *Asynchronously* stores the objects and every object they point to in the local datastore, recursively,
@@ -1114,7 +1113,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
1114
1113
1115
1114
@see unpinAllInBackground:withName:
1116
1115
*/
1117
- + (BFTask *)pinAllInBackground : (PF_NULLABLE NSArray *)objects withName : (NSString *)name ;
1116
+ + (BFTask PF_GENERIC ( NSNumber *) *)pinAllInBackground:(PF_NULLABLE NSArray *)objects withName:(NSString *)name;
1118
1117
1119
1118
/* !
1120
1119
@abstract *Asynchronously* stores the objects and every object they point to in the local datastore, recursively.
@@ -1196,7 +1195,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
1196
1195
@see pinInBackground
1197
1196
@see PFObjectDefaultPin
1198
1197
*/
1199
- - (BFTask *)unpinInBackground ;
1198
+ - (BFTask PF_GENERIC ( NSNumber *) *)unpinInBackground;
1200
1199
1201
1200
/* !
1202
1201
@abstract *Asynchronously* removes the object and every object it points to in the local datastore, recursively,
@@ -1219,7 +1218,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
1219
1218
1220
1219
@see pinInBackgroundWithName:
1221
1220
*/
1222
- - (BFTask *)unpinInBackgroundWithName : (NSString *)name ;
1221
+ - (BFTask PF_GENERIC ( NSNumber *) *)unpinInBackgroundWithName:(NSString *)name;
1223
1222
1224
1223
/* !
1225
1224
@abstract *Asynchronously* removes the object and every object it points to in the local datastore, recursively.
@@ -1286,7 +1285,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
1286
1285
1287
1286
@see PFObjectDefaultPin
1288
1287
*/
1289
- + (BFTask *)unpinAllObjectsInBackground ;
1288
+ + (BFTask PF_GENERIC ( NSNumber *) *)unpinAllObjectsInBackground;
1290
1289
1291
1290
/* !
1292
1291
@abstract *Asynchronously* removes all objects in the local datastore
@@ -1306,7 +1305,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
1306
1305
1307
1306
@returns The task that encapsulates the work being done.
1308
1307
*/
1309
- + (BFTask *)unpinAllObjectsInBackgroundWithName : (NSString *)name ;
1308
+ + (BFTask PF_GENERIC ( NSNumber *) *)unpinAllObjectsInBackgroundWithName:(NSString *)name;
1310
1309
1311
1310
/* !
1312
1311
@abstract *Asynchronously* removes all objects with the specified pin name.
@@ -1382,7 +1381,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
1382
1381
@see pinAllInBackground:
1383
1382
@see PFObjectDefaultPin
1384
1383
*/
1385
- + (BFTask *)unpinAllInBackground : (PF_NULLABLE NSArray *)objects ;
1384
+ + (BFTask PF_GENERIC ( NSNumber *) *)unpinAllInBackground:(PF_NULLABLE NSArray *)objects;
1386
1385
1387
1386
/* !
1388
1387
@abstract *Asynchronously* removes the objects and every object they point to in the local datastore, recursively,
@@ -1407,7 +1406,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
1407
1406
1408
1407
@see pinAllInBackground:withName:
1409
1408
*/
1410
- + (BFTask *)unpinAllInBackground : (PF_NULLABLE NSArray *)objects withName : (NSString *)name ;
1409
+ + (BFTask PF_GENERIC ( NSNumber *) *)unpinAllInBackground:(PF_NULLABLE NSArray *)objects withName:(NSString *)name;
1411
1410
1412
1411
/* !
1413
1412
@abstract *Asynchronously* removes the objects and every object they point to in the local datastore, recursively.
0 commit comments