|
LuxChat
2.0
Instant messenger for iOS
|
#import <PFFile+Deprecated.h>
Instance Methods | |
| (void) | - saveInBackgroundWithTarget:selector: |
More... | |
| (void) | - getDataInBackgroundWithTarget: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 PFFile that are deprecated and will be removed in the near future.
| - (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.
| target | The object to call selector on. |
| selector | The 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. |
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.
| 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. |
PFFile.-saveInBackgroundWithBlock: instead. Extends class PFFile.
1.8.9.1