Latest 1.0.4
Homepage https://github.com/wuhui519/HYDownloadManager
License MIT
Platforms ios 7.0, requires ARC
Dependencies EGOCache, AFNetworking
Authors

a tool downloads file with memory cache, temporary cache and permanent store.

How To Use

  • parallel downloading:
    HYDownloadManager

    
    //Start the download request for a URL, note that the same URL will never be downloaded twice
  • (void) downloadItemWithURL:(NSURL*)url
    useCache:(BOOL)useCache;

    //Delegate based events
    // 1 url download operation can have multiple listeners
    // But 1 listener cannot listen to 1 url download operation

  • (void) attachListener:(id)listener toURL:(NSURL*)url;

  • sequential downloading:
    HYSequentialDownloadHandler

  • (HYSequentialDownloadHandler) downloadingHandlerWithURLs:(NSArray)urls
    progressBlock:(HYSequentialProgressBlock)progressBlock
    completionBlock:(HYSequentialCompletionBlock)completionBlock
    tag:(NSInteger)tag;

Latest podspec

{
    "name": "HYDownloadManager",
    "version": "1.0.4",
    "summary": "A tool downloads file with memory cache, temporary cache and permanent store.",
    "homepage": "https://github.com/wuhui519/HYDownloadManager",
    "authors": {
        "wuhui519": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wuhui519/HYDownloadManager.git",
        "tag": "1.0.4"
    },
    "source_files": "HYDownloadManagerPod/*.{h,m}",
    "platforms": {
        "ios": "7.0"
    },
    "license": "MIT",
    "requires_arc": true,
    "dependencies": {
        "EGOCache": [
            "~> 2.0"
        ],
        "AFNetworking": [
            "~> 3.0"
        ]
    }
}

Pin It on Pinterest

Share This