@@ -491,7 +491,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
491
491
492
492
@deprecated Please use `-fetch` instead.
493
493
*/
494
- - (void )refresh PARSE_DEPRECATED(" Please use `-fetch` instead." );
494
+ - (instancetype )refresh PARSE_DEPRECATED(" Please use `-fetch` instead." );
495
495
496
496
/* !
497
497
@abstract *Synchronously* refreshes the `PFObject` with the current data from the server and sets an error if it occurs.
@@ -500,7 +500,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
500
500
501
501
@deprecated Please use `-fetch:` instead.
502
502
*/
503
- - (void )refresh : (NSError **)error PARSE_DEPRECATED(" Please use `-fetch:` instead." );
503
+ - (instancetype )refresh : (NSError **)error PARSE_DEPRECATED(" Please use `-fetch:` instead." );
504
504
505
505
/* !
506
506
@abstract *Asynchronously* refreshes the `PFObject` and executes the given callback block.
@@ -531,13 +531,13 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
531
531
/* !
532
532
@abstract *Synchronously* fetches the PFObject with the current data from the server.
533
533
*/
534
- - (void )fetch ;
534
+ - (instancetype )fetch ;
535
535
/* !
536
536
@abstract *Synchronously* fetches the PFObject with the current data from the server and sets an error if it occurs.
537
537
538
538
@param error Pointer to an `NSError` that will be set if necessary.
539
539
*/
540
- - (void )fetch : (NSError **)error ;
540
+ - (instancetype )fetch : (NSError **)error ;
541
541
542
542
/* !
543
543
@abstract *Synchronously* fetches the `PFObject` data from the server if <isDataAvailable> is `NO`.
@@ -614,7 +614,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
614
614
615
615
@param objects The list of objects to fetch.
616
616
*/
617
- + (void )fetchAll : (PF_NULLABLE NSArray *)objects ;
617
+ + (NSArray * )fetchAll : (PF_NULLABLE NSArray *)objects ;
618
618
619
619
/* !
620
620
@abstract *Synchronously* fetches all of the `PFObject` objects with the current data from the server
@@ -623,13 +623,13 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
623
623
@param objects The list of objects to fetch.
624
624
@param error Pointer to an `NSError` that will be set if necessary.
625
625
*/
626
- + (void )fetchAll : (PF_NULLABLE NSArray *)objects error : (NSError **)error ;
626
+ + (NSArray * )fetchAll : (PF_NULLABLE NSArray *)objects error : (NSError **)error ;
627
627
628
628
/* !
629
629
@abstract *Synchronously* fetches all of the `PFObject` objects with the current data from the server.
630
630
@param objects The list of objects to fetch.
631
631
*/
632
- + (void )fetchAllIfNeeded : (PF_NULLABLE NSArray *)objects ;
632
+ + (NSArray * )fetchAllIfNeeded : (PF_NULLABLE NSArray *)objects ;
633
633
634
634
/* !
635
635
@abstract *Synchronously* fetches all of the `PFObject` objects with the current data from the server
@@ -638,7 +638,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
638
638
@param objects The list of objects to fetch.
639
639
@param error Pointer to an `NSError` that will be set if necessary.
640
640
*/
641
- + (void )fetchAllIfNeeded : (PF_NULLABLE NSArray *)objects error : (NSError **)error ;
641
+ + (NSArray * )fetchAllIfNeeded : (PF_NULLABLE NSArray *)objects error : (NSError **)error ;
642
642
643
643
/* !
644
644
@abstract Fetches all of the `PFObject` objects with the current data from the server *asynchronously*.
@@ -718,7 +718,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
718
718
@abstract *Synchronously* loads data from the local datastore into this object,
719
719
if it has not been fetched from the server already.
720
720
*/
721
- - (void )fetchFromLocalDatastore ;
721
+ - (instancetype )fetchFromLocalDatastore ;
722
722
723
723
/* !
724
724
@abstract *Synchronously* loads data from the local datastore into this object, if it has not been fetched
@@ -729,7 +729,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
729
729
730
730
@param error Pointer to an `NSError` that will be set if necessary.
731
731
*/
732
- - (void )fetchFromLocalDatastore : (NSError **)error ;
732
+ - (instancetype )fetchFromLocalDatastore : (NSError **)error ;
733
733
734
734
/* !
735
735
@abstract *Asynchronously* loads data from the local datastore into this object,
0 commit comments