LuxChat  2.0
Instant messenger for iOS
Instance Methods | Class Methods | List of all members
PFObject(Deprecated) Category Reference

#import <PFObject+Deprecated.h>

Instance Methods

(void) - saveInBackgroundWithTarget:selector:
 
More...
 
(void) - refreshInBackgroundWithTarget:selector:
 
More...
 
(void) - fetchInBackgroundWithTarget:selector:
 
(void) - fetchIfNeededInBackgroundWithTarget:selector:
 
(void) - deleteInBackgroundWithTarget:selector:
 
More...
 

Class Methods

(void) + saveAllInBackground:target:selector:
 
More...
 
(void) + fetchAllInBackground:target:selector:
 
More...
 
(void) + fetchAllIfNeededInBackground:target:selector:
 
(void) + deleteAllInBackground:target:selector:
 
More...
 

Detailed Description

Copyright (c) 2015-present, Parse, LLC. All rights reserved.

This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. This category lists all methods of PFObject that are deprecated and will be removed in the near future.

Method Documentation

+ (void) deleteAllInBackground: (nullable NSArray< PFObject * > *)  objects
target: (nullable id)  target
selector: ("Please use `PFObject.+deleteAllInBackground:block:` instead.")  PARSE_DEPRECATED 



Deletes a collection of objects all at once asynchronously and calls a callback when done.

Parameters
objectsThe array of objects to delete.
targetThe object to call selector on.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)number error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not.
Deprecated:
Please use PFObject.+deleteAllInBackground:block: instead.

Extends class PFObject.

- (void) deleteInBackgroundWithTarget: (nullable id)  target
selector: ("Please use `PFObject.-deleteInBackgroundWithBlock:` instead.")  PARSE_DEPRECATED 



Deletes the PFObject asynchronously and calls the given callback.

Parameters
targetThe object to call selector on.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not.
Deprecated:
Please use PFObject.-deleteInBackgroundWithBlock: instead.

Extends class PFObject.

+ (void) fetchAllIfNeededInBackground: (nullable NSArray< PFObject * > *)  objects
target: (nullable id)  target
selector: ("Please use `PFObject.+fetchAllIfNeededInBackground:block:` instead.")  PARSE_DEPRECATED 

Fetches all of the PFObjects with the current data from the server asynchronously and calls the given callback.

Parameters
objectsThe list of objects to fetch.
targetThe target on which the selector will be called.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(NSArray *)fetchedObjects error:(NSError *)error. error will be nil on success and set if there was an error. fetchedObjects will the array of PFObject objects that were fetched.
Deprecated:
Please use PFObject.+fetchAllIfNeededInBackground:block: instead.

Extends class PFObject.

+ (void) fetchAllInBackground: (nullable NSArray< PFObject * > *)  objects
target: (nullable id)  target
selector: ("Please use `PFObject.+fetchAllInBackground:block:` instead.")  PARSE_DEPRECATED 



Fetches all of the PFObject objects with the current data from the server asynchronously and calls the given callback.

Parameters
objectsThe list of objects to fetch.
targetThe target on which the selector will be called.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(NSArray *)fetchedObjects error:(NSError *)error. error will be nil on success and set if there was an error. fetchedObjects will the array of PFObject objects that were fetched.
Deprecated:
Please use PFObject.+fetchAllInBackground:block: instead.

Extends class PFObject.

- (void) fetchIfNeededInBackgroundWithTarget: (nullable id)  target
selector: ("Please use `PFObject.-fetchIfNeededInBackgroundWithBlock:` instead.")  PARSE_DEPRECATED 

Fetches the PFObject's data asynchronously if dataAvailable is NO, then calls the callback.

Parameters
targetThe target on which the selector will be called.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(PFObject *)fetchedObject error:(NSError *)error. error will be nil on success and set if there was an error. refreshedObject will be the PFObject with the refreshed data.
Deprecated:
Please use PFObject.-fetchIfNeededInBackgroundWithBlock: instead.

Extends class PFObject.

- (void) fetchInBackgroundWithTarget: (nullable id)  target
selector: ("Please use `PFObject.-fetchInBackgroundWithBlock:` instead.")  PARSE_DEPRECATED 

Fetches the `PFObject asynchronously and calls the given callback.

Parameters
targetThe target on which the selector will be called.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(PFObject *)refreshedObject error:(NSError *)error. error will be nil on success and set if there was an error. refreshedObject will be the PFObject with the refreshed data.
Deprecated:
Please use PFObject.-fetchInBackgroundWithBlock: instead.

Extends class PFObject.

- (void) refreshInBackgroundWithTarget: (nullable id)  target
selector: ("Please use `PFObject.-fetchInBackgroundWithBlock:` instead.")  PARSE_DEPRECATED 



Asynchronously* refreshes the PFObject and calls the given callback.

Parameters
targetThe target on which the selector will be called.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(PFObject *)refreshedObject error:(NSError *)error. error will be nil on success and set if there was an error. refreshedObject will be the PFObject with the refreshed data.
Deprecated:
Please use PFObject.-fetchInBackgroundWithBlock: instead.

Extends class PFObject.

+ (void) saveAllInBackground: (nullable NSArray< PFObject * > *)  objects
target: (nullable id)  target
selector: ("Please use `PFObject.+saveAllInBackground:block:` instead.")  PARSE_DEPRECATED 



Saves a collection of objects all at once asynchronously and calls a callback when done.

Parameters
objectsThe array of objects to save.
targetThe object to call selector on.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)number error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not.
Deprecated:
Please use PFObject.+saveAllInBackground:block: instead.

Extends class PFObject.

- (void) saveInBackgroundWithTarget: (nullable id)  target
selector: ("Please use `PFObject.-saveInBackgroundWithBlock:` instead.")  PARSE_DEPRECATED 



Saves the PFObject asynchronously and calls the given callback.

Parameters
targetThe object to call selector on.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not.
Deprecated:
Please use PFObject.-saveInBackgroundWithBlock: instead.

Extends class PFObject.


The documentation for this category was generated from the following file: