initial
This commit is contained in:
32
Parse.framework/Versions/1.2.13/Headers/PFImageView.h
Executable file
32
Parse.framework/Versions/1.2.13/Headers/PFImageView.h
Executable file
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// PFImageView.h
|
||||
// Parse
|
||||
//
|
||||
// Created by Qian Wang on 5/16/12.
|
||||
// Copyright (c) 2012 Parse Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "PFFile.h"
|
||||
|
||||
/*!
|
||||
An image view that downloads and displays remote image stored on Parse's server.
|
||||
*/
|
||||
@interface PFImageView : UIImageView
|
||||
|
||||
/// The remote file on Parse's server that stores the image.
|
||||
/// Note that the download does not start until loadInBackground: is called.
|
||||
@property (nonatomic, retain) PFFile *file;
|
||||
|
||||
/*!
|
||||
Initiate downloading of the remote image. Once the download completes, the remote image will be displayed.
|
||||
*/
|
||||
- (void)loadInBackground;
|
||||
|
||||
/*!
|
||||
Initiate downloading of the remote image. Once the download completes, the remote image will be displayed.
|
||||
@param completion the completion block.
|
||||
*/
|
||||
- (void)loadInBackground:(void (^)(UIImage *image, NSError *error))completion;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user