blob: 2270f5a4838cfd0004e79f61b6902c2d5911beb4 [file] [log] [blame]
{
"name": "IncredibleNetworkManager",
"version": "0.1.1",
"summary": "Awesome library to load JSON objects and parse them, also do download and caching images.",
"swift_version": "3.2",
"description": "To use the Library initialize it in the AppDelegate with the command:\n- NetworkManager.initializeNetworkManager()\n\nTo request from the server use the method:\n- NetworkManager.shared.performRequest(_ urlString: String?,\n method: URLMethod? = .GET,\n bodyData: Data? = nil,\n headerValues: [[String]]? = nil,\n shouldCache: Bool = false,\n completion:@escaping (_ data: Data?) -> Void,\n timeoutAfter timeout: TimeInterval = 120,\n onTimeout: (()->Void)? = nil) -> URLSessionDataTask?\n\nTo load images into the chache use the method:\n- imageView.setImage(<#T##url: String?##String?#>, thumbnailUrl: <#T##String?#>, placeholder: <#T##UIImage?#>, animated: <#T##Bool#>, completion: <#T##((UIImage?) -> Void)?##((UIImage?) -> Void)?##(UIImage?) -> Void#>)",
"homepage": "https://github.com/fghoffmann/IncredibleNetworkManager",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"Fabio Gustavo Hoffmann": "fabio@dogtownmedia.com"
},
"source": {
"git": "https://github.com/fghoffmann/IncredibleNetworkManager.git",
"tag": "0.1.1"
},
"platforms": {
"ios": "8.0"
},
"source_files": "IncredibleNetworkManager/{Classes,Extensions}/**/*"
}