|
LuxChat
2.0
Instant messenger for iOS
|
#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... | |
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.
| + (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.
| objects | The array of objects to delete. |
| target | The object to call selector on. |
| selector | The 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. |
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.
| target | The object to call selector on. |
| selector | The 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. |
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.
| objects | The list of objects to fetch. |
| target | The target on which the selector will be called. |
| selector | The 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. |
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.
| objects | The list of objects to fetch. |
| target | The target on which the selector will be called. |
| selector | The 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. |
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.
| target | The target on which the selector will be called. |
| selector | The 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. |
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.
| target | The target on which the selector will be called. |
| selector | The 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. |
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.
| target | The target on which the selector will be called. |
| selector | The 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. |
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.
| objects | The array of objects to save. |
| target | The object to call selector on. |
| selector | The 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. |
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.
| target | The object to call selector on. |
| selector | The 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. |
PFObject.-saveInBackgroundWithBlock: instead. Extends class PFObject.
1.8.9.1