Last active
December 6, 2016 21:34
-
-
Save petermolnar-dev/710018755532b26b03aa76d447208f59 to your computer and use it in GitHub Desktop.
PMODownloader.h - With KVO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface PMODownloader : NSObject | |
//1 | |
/** | |
Property to store the downloaded data in NSData format | |
*/ | |
@property (strong, nonatomic, nullable) NSData *downloadedData; | |
/** | |
Downloading and giving back the raw data result from the url. | |
@param url the source url | |
*/ | |
- (void)downloadDataFromURL:(nonnull NSURL *)url; | |
@end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment