Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
machao committed Mar 3, 2017
1 parent 4ae9989 commit 8376388
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MCDownloadManager.podspec
Expand Up @@ -118,7 +118,7 @@ Pod::Spec.new do |s|
#

# s.framework = "SomeFramework"
# s.frameworks = "SomeFramework", "AnotherFramework"
s.frameworks = "Foundation", "UIKit"

# s.library = "iconv"
# s.libraries = "iconv", "xml2"
Expand Down
Binary file not shown.
8 changes: 7 additions & 1 deletion MCDownloadManager/MCDownloadManager/MCDownloadManager.m
Expand Up @@ -190,8 +190,14 @@ - (id)initWithCoder:(NSCoder *)aDecoder

#pragma mark -

#if OS_OBJECT_USE_OBJC
#define MCDispatchQueueSetterSementics strong
#else
#define MCDispatchQueueSetterSementics assign
#endif

@interface MCDownloadManager () <NSURLSessionDataDelegate>
@property (nonatomic, strong) dispatch_queue_t synchronizationQueue;
@property (nonatomic, MCDispatchQueueSetterSementics) dispatch_queue_t synchronizationQueue;
@property (strong, nonatomic) NSURLSession *session;

@property (nonatomic, assign) NSInteger maximumActiveDownloads;
Expand Down

0 comments on commit 8376388

Please sign in to comment.