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

#import <PFFile+Deprecated.h>

Instance Methods

(void) - saveInBackgroundWithTarget:selector:
 
More...
 
(void) - getDataInBackgroundWithTarget: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 PFFile that are deprecated and will be removed in the near future.

Method Documentation

- (void) getDataInBackgroundWithTarget: (nullable id)  target
selector: ("Please use `PFFile.-getDataInBackgroundWithBlock:` instead.")  PARSE_DEPRECATED 



Asynchronously* gets the data from cache if available or fetches its contents from the network.

Parameters
targetThe object to call selector on.
selectorThe selector to call. It should have the following signature: (void)callbackWithResult:(NSData *)result error:(NSError *)error. error will be nil on success and set if there was an error.
Deprecated:
Please use PFFile.-getDataInBackgroundWithBlock: instead.

Extends class PFFile.

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



Saves the file asynchronously and invokes the given selector on a target.

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 PFFile.-saveInBackgroundWithBlock: instead.

Extends class PFFile.


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