mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
20 lines
524 B
Objective-C
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
|