CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Sep 2016 |
Maintained by Muqq.
| Depends on: | |
| AWSCore | = 2.4.7 |
| AWSS3 | = 2.4.7 |
| SPTPersistentCache | >= 0 |
iOS >= 8.0FFile is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "FFile"FFile.setup("<Your AWS identity pool Id>",
s3URL: "<AWS Region URL>",
s3Bucket: "<AWS bucket>",
s3Region: "<Your AWS bucket region>" let file = FFile(name: "example", data: data, fileExtension: "png")
file.saveInBackgroundWithBlock { success, error in
if success {
//Do something if success
} else {
// handle error
}
}//get your objectId and save it to anywhere
file.objectId//use objectId to get your file
let file = FFile(objectId: objectId)
file.getDataInBackgroundWithBlock { data, error in
if error {
// handle error
} else {
// use your data
}
}muqq, [email protected]
FFile is available under the MIT license. See the LICENSE file for more info.