|
LuxChat
2.0
Instant messenger for iOS
|
#import <PFQuery+Deprecated.h>
Instance Methods | |
| (void) | - getObjectInBackgroundWithId:target:selector: |
More... | |
| (void) | - findObjectsInBackgroundWithTarget:selector: |
More... | |
| (void) | - getFirstObjectInBackgroundWithTarget:selector: |
More... | |
| (void) | - countObjectsInBackgroundWithTarget: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 PFQuery that are deprecated and will be removed in the near future.
| - (void) countObjectsInBackgroundWithTarget: | (nullable id) | target | |
| selector: | ("Please use `PFQuery.-countObjectsInBackgroundWithBlock:` instead.") | PARSE_DEPRECATED | |
Counts objects asynchronously and calls the given callback with the count.
| target | The object to call the selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. |
PFQuery.-countObjectsInBackgroundWithBlock: instead. Extends class PFQuery.
| - (void) findObjectsInBackgroundWithTarget: | (nullable id) | target | |
| selector: | ("Please use `PFQuery.-findObjectsInBackgroundWithBlock:` instead.") | PARSE_DEPRECATED | |
Finds objects asynchronously and calls the given callback with the results.
| target | The object to call the selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(id)result error:(NSError *)error. Result will be nil if error is set and vice versa. |
PFQuery.-findObjectsInBackgroundWithBlock: instead. Extends class PFQuery.
| - (void) getFirstObjectInBackgroundWithTarget: | (nullable id) | target | |
| selector: | ("Please use `PFQuery.-getFirstObjectInBackgroundWithBlock:` instead.") | PARSE_DEPRECATED | |
Gets an object asynchronously and calls the given callback with the results.
1.| target | The object to call the selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(PFObject *)result error:(NSError *)error. result will be nil if error is set OR no object was found matching the query. error will be nil if result is set OR if the query succeeded, but found no results. |
PFQuery.-getFirstObjectInBackgroundWithBlock: instead. Extends class PFQuery.
| - (void) getObjectInBackgroundWithId: | (NSString *) | objectId | |
| target: | (nullable id) | target | |
| selector: | ("Please use `PFQuery.-getObjectInBackgroundWithId:block:` instead.") | PARSE_DEPRECATED | |
Gets a PFObject asynchronously.
This mutates the PFQuery. It will reset limit to 1, skip to 0 and remove all conditions, leaving only objectId.
| objectId | The id of the object being requested. |
| target | The target for the callback selector. |
| selector | The selector for the callback. It should have the following signature: (void)callbackWithResult:(id)result error:(NSError *)error. Result will be nil if error is set and vice versa. |
PFQuery.-getObjectInBackgroundWithId:block: instead. Extends class PFQuery.
1.8.9.1