Latest 0.6.1
License BSD 3-Clause
Platforms ios 5.0, osx 10.7, requires ARC
Dependencies AFNetworking

MCAWSS3Client – Amazon S3 client based on AFHTTPClient.

Badge w/ Version
Badge w/ Platform

Amazon S3 client based on AFNetworking‘s AFHTTPClient.

Example Usage

MCAWSS3Client* client = [[MCAWSS3Client alloc] init];
[client setAccessKey:@"..."];
[client setSecretKey:@"..."];
[client setSessionToken:@"..."]; // optional session token (necessary when using AWS STS credentials)
[client setBucket:@"the-bucket"];

[client putObjectWithData:imageData
                  success:^(AFHTTPRequestOperation *operation, id responseObject) {
                      NSLog(@"Upload Successful!");
                  } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
                      NSLog(@"Upload Failed...");

Important Notes

  • This code has been known to work on iOS 5.x+.
  • This code uses Automatic Reference Counting, if your project does not use ARC, you must add the -fobjc-arc compiler flag to each implementation files in Target Settings > Build Phases > Compile Source.
  • This code also uses the literals syntax, so at least Xcode 4.5 is required.

Adding to your project

If you’re using CocoaPods, there’s nothing simpler.
Add the following to your Podfile
and run pod install

pod 'MCAWSS3Client', :git => ''

Don’t forget to #import "MCAWSS3Client.h" where it’s needed.


MCAWSS3Client is © 2013-2015 Mirego and may be freely
distributed under the New BSD license.
See the file.

About Mirego

Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun. We’re a team of talented people who imagine and build beautiful Web and mobile applications. We come together to share ideas and change the world.

We also love open-source software and we try to give back to the community as much as we can.

Latest podspec

    "name": "MCAWSS3Client",
    "version": "0.6.1",
    "license": "BSD 3-Clause",
    "summary": "Amazon S3 client based on AFHTTPClient.",
    "homepage": "",
    "authors": {
        "Mirego": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.6.1"
    "source_files": "MCAWSS3Client.{h,m}",
    "requires_arc": true,
    "platforms": {
        "ios": "5.0",
        "osx": "10.7"
    "dependencies": {
        "AFNetworking": [
            "~> 1.0"

Pin It on Pinterest

Share This