Latest 1.0.0
Homepage https://github.com/javedmultani16/SwiftyEasyCache
License MIT
Platforms ios 10.0
Frameworks UIKit
Authors

General info

The purpose of the library is to abstract the downloading (images, pdf, zip, etc) and caching of remote resources (images, JSON, XML, etc) so that client code can easily "swap" a URL for any kind of files ( JSON, XML, etc) without worrying about any of the details.

Screenshot 2019-05-18 at 3 09 18 PM

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS > 10

Swift 4.2 

Installation

SwiftyEasyCache is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SwiftyEasyCache'

Manully Installation

To use this library in your project manually you may:

just drag SwiftyEasyCache directory to the project tree

Usage

To load web images:

  uploadedImageView.swifty_setImageWithUrl(url: uploadedImageURL!, completion: {(error) in })

To load web images with placeholder image:

  uploadedImageView.swifty_setImageWithUrl(url: uploadedImageURL!, placeholderImage: UIImage(named: "default-placeholder")) { (err) in
            print(err.debugDescription)
        }

Author

Javed Multani, [email protected]

License

SwiftyEasyCache is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SwiftyEasyCache",
    "version": "1.0.0",
    "summary": "Fastest Library To Cache Images And Other Resources",
    "description": "Simple Library To Cache Images And Other Resources!",
    "homepage": "https://github.com/javedmultani16/SwiftyEasyCache",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Javed Multani": "[email protected]"
    },
    "source": {
        "git": "https://github.com/javedmultani16/SwiftyEasyCache.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "SwiftyEasyCache/*",
    "exclude_files": "SwiftyEasyCache/*.plist",
    "swift_version": "4.2",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This