Files
Sparkle/Sparkle/SPUURLDownload.h
T

20 lines
524 B
Objective-C

//
// SPUURLDownload.h
// Sparkle
//
// Created by Mayur Pawashe on 5/13/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class SPUDownloadData;
// From the completion block, either data or error can be nil, but not both
// The completion block returns on the main queue
void SPUDownloadURLWithRequest(NSURLRequest * request, void (^completionBlock)(SPUDownloadData * _Nullable download, NSError * _Nullable error));
NS_ASSUME_NONNULL_END