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

#import <PFQuery+Deprecated.h>

Instance Methods

(void) - getObjectInBackgroundWithId:target:selector:
 
More...
 
(void) - findObjectsInBackgroundWithTarget:selector:
 
More...
 
(void) - getFirstObjectInBackgroundWithTarget:selector:
 
More...
 
(void) - countObjectsInBackgroundWithTarget: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 PFQuery that are deprecated and will be removed in the near future.

Method Documentation

- (void) countObjectsInBackgroundWithTarget: (nullable id)  target
selector: ("Please use `PFQuery.-countObjectsInBackgroundWithBlock:` instead.")  PARSE_DEPRECATED 



Counts objects asynchronously and calls the given callback with the count.

Parameters
targetThe object to call the selector on.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error.
Deprecated:
Please use 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.

Parameters
targetThe object to call the selector on.
selectorThe 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.
Deprecated:
Please use 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.

Warning
This method mutates the query. It will reset the limit to 1.
Parameters
targetThe object to call the selector on.
selectorThe 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.
Deprecated:
Please use 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.

Parameters
objectIdThe id of the object being requested.
targetThe target for the callback selector.
selectorThe 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.
Deprecated:
Please use PFQuery.-getObjectInBackgroundWithId:block: instead.

Extends class PFQuery.


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