|
LuxChat
2.0
Instant messenger for iOS
|
#import <PFFile+Synchronous.h>
Instance Methods | |
| (BOOL) | - PF_SWIFT_UNAVAILABLE |
More... | |
| (BOOL) | - save: |
| (nullable NSData *) | - PF_SWIFT_UNAVAILABLE |
| (nullable NSData *) | - getData: |
| (nullable NSInputStream *) | - PF_SWIFT_UNAVAILABLE |
| (nullable NSInputStream *) | - getDataStream: |
Properties | |
| BOOL | dataAvailable |
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 class that are synchronous, but have asynchronous counterpart, Calling one of these synchronous methods could potentially block the current thread for a large amount of time, since it might be fetching from network or saving/loading data from disk.
| - (nullable NSData *) getData: | (NSError **) | error |
Synchronously* gets the data from cache if available or fetches its contents from the network. Sets an error if it occurs.
| error | Pointer to an NSError that will be set if necessary. |
NSData object containing file data. Returns nil if there was an error in fetching. Extends class PFFile.
| - (nullable NSInputStream *) getDataStream: | (NSError **) | error |
| - (nullable NSInputStream *) PF_SWIFT_UNAVAILABLE |
| - (nullable NSData *) PF_SWIFT_UNAVAILABLE |
Synchronously* gets the data from cache if available or fetches its contents from the network.
NSData object containing file data. Returns nil if there was an error in fetching. Extends class PFFile.
| - (BOOL) PF_SWIFT_UNAVAILABLE |
| - (BOOL) save: | (NSError **) | error |
Saves the file synchronously and sets an error if it occurs.
| error | Pointer to an NSError that will be set if necessary. |
Extends class PFFile.
|
readnonatomicassign |
1.8.9.1