lyc2345 / AWSWrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWSWrapper

CI Status Version License Platform

Example

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

Requirements

Installation

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

pod "AWSWrapper", :git => 'https://github.com/lyc2345/AWSWrapper.git'

import

@import AWSWrapper;
  1. Sign up for AWSMobileHub Service
  2. create Bookmark and History "Amazon DynamoDb Tables" Amazon DynamoDb Tables
  3. create "Amazon Cognito Idnentity Pools", User sign-in only use Email and Password. Cognito Idnentity Pools
  4. set up .plist according to
    1. Integrate > iOS Obj-C > Getting Started > OPTION 2
    2. OR You can see the plist in DEMO project. Integrate
// Example
AWSMobileClient *mobileClient = [AWSMobileClient sharedInstance];
mobileClient.AWSCognitoUserPoolId = @"";
mobileClient.AWSCognitoUserPoolClientId = @"";
mobileClient.AWSCognitoUserPoolClientSecret = @"";
mobileClient.AWSCognitoUserPoolRegion = AWSRegionUSEast1;
mobileClient.CognitoPoolID = @"";

Turn on Debug Mode

  1. Choose pod project in your workspace
  2. Choose AWSWrapper in pod project
  3. Select build settings -> find Preprocessor Macros -> add debugMode=1 in DEBUG shows below DebugMode

Documentation

Documentation

Author

lyc2345, lyc2345@gmail.com

License

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

About

License:MIT License


Languages

Language:Objective-C 95.1%Language:C 4.1%Language:Shell 0.7%Language:C++ 0.1%Language:Ruby 0.0%