<commit_before>##UploadcareKit iOS SDK for [Uploadcare](http://uploadcare.com)

####Set Up the iOS SDK

We've made it easy to setup the UploadcareKit iOS SDK for Xcode by including an example app that you can use as a template. Before you can get started, go to [Uploadcare Sign Up](http://uploadcare.com/accounts/create/) and register your new app. After registration you'll get public and secret keys that allow you to connect to Uploadcare API.

####Usage
There are two ways to use UploadcareKit iOS SDK:
 * add UploadcareKit project direct to your project (with all sources and dependencies), just read about it above;
 * or connect it via [Static Library with Headers](#arc_static) (for non-ARC projects or for different reasons).

####Build and run the example app
The example project that included in the SDK contains all you need to understand basics of usage. The project is called ``` SimpleExample ``` and contains an example of how to upload file from your local storage, upload from URL, retrieve list of files from Uploadcare API, keep files, delete it and get file info.

Just open ```UploadcareKit.xcworkspace``` and select ```SimpleExample``` from build targets. Find ```ViewController.m``` in ```SimpleExample``` project, then goto ```viewDidLoad``` method and fill in the values for publicKey and secretKey with your app's key and secret.

``` objective-c
- (void)viewDidLoad
{
    // init UploadcareKit with public and secret
    [[UploadcareKit shared] setPublicKey:@"your_public_key"
                               andSecret:@"your_secret_key"];
    
    [super viewDidLoad];
}
```
Now you can build and run the example. Once running, make sure you can start the app and make request without getting errors. If Uploadcare API doesn't understand your keys you'll see warning in Debug Area:<commit_msg>fixed link<commit_after>##UploadcareKit iOS SDK for [Uploadcare](http://uploadcare.com)

####Set Up the iOS SDK

We've made it easy to setup the UploadcareKit iOS SDK for Xcode by including an example app that you can use as a template. Before you can get started, go to [Uploadcare Sign Up](http://uploadcare.com/accounts/create/) and register your new app. After registration you'll get public and secret keys that allow you to connect to Uploadcare API.

####Usage
There are two ways to use UploadcareKit iOS SDK:
 * add UploadcareKit project direct to your project (with all sources and dependencies), just read about it above;
 * or connect it via [Static Library with Headers](#arc-support-and-static-library) (for non-ARC projects or for different reasons).

####Build and run the example app
The example project that included in the SDK contains all you need to understand basics of usage. The project is called ``` SimpleExample ``` and contains an example of how to upload file from your local storage, upload from URL, retrieve list of files from Uploadcare API, keep files, delete it and get file info.

Just open ```UploadcareKit.xcworkspace``` and select ```SimpleExample``` from build targets. Find ```ViewController.m``` in ```SimpleExample``` project, then goto ```viewDidLoad``` method and fill in the values for publicKey and secretKey with your app's key and secret.

``` objective-c
- (void)viewDidLoad
{
    // init UploadcareKit with public and secret
    [[UploadcareKit shared] setPublicKey:@"your_public_key"
                               andSecret:@"your_secret_key"];
    
    [super viewDidLoad];
}
```
Now you can build and run the example. Once running, make sure you can start the app and make request without getting errors. If Uploadcare API doesn't understand your keys you'll see warning in Debug Area:
{'fraction_non_alphanumeric': 0.07866703086588364, 'fraction_numerical': 0.0, 'mean_word_length': 4.338192419825073, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '455373', 'n_tokens_mistral': 944, 'n_tokens_neox': 907, 'n_words': 498}