<commit_before>## MANGOPAY iOS Kit

### PROJECT SETTINGS

Step 1 - Add the following to your Info.plist will disable ATS in iOS 9.

    <key>NSAppTransportSecurity</key>
      <dict>
      <key>NSAllowsArbitraryLoads</key>
      <true/>
    </dict>

Step 2 - Import header

    #import <mangopay/mangopay.h>

Step 3

    @interface ViewController ()
    @property (nonatomic, strong) MPAPIClient *mangopayClient;
    @end

Initiate MPAPIClient with received cardObject

    self.mangopayClient = [[MPAPIClient alloc] initWithCardObject:responseObject];

Collect card info from the user and add it to mangopayClient

    [self.mangopayClient appendCardNumber:@"0000000000000000" cardExpirationDate:@"1016" cardCvx:@"123"];

Register card

    [self.mangopayClient registerCard:^(NSDictionary *response, NSError *error) {
          if (error) {
              NSLog(@"Error: %@", error);
          }
          else { // card was VALIDATED
              NSLog(@"VALIDATED %@", response);
          }
    }];
<commit_msg>Updated README file<commit_after>## MANGOPAY iOS Kit

### PROJECT SETTINGS

Step 1 - Add the following to your Info.plist will disable ATS in iOS 9.

    <key>NSAppTransportSecurity</key>
      <dict>
      <key>NSAllowsArbitraryLoads</key>
      <true/>
    </dict>

Step 2 - Import mangopay.framework into your project (make sure "Copy items if needed" is seleted)

Step 3 - Import header

    #import <mangopay/mangopay.h>

Step 4

    @interface ViewController ()
    @property (nonatomic, strong) MPAPIClient *mangopayClient;
    @end

Initiate MPAPIClient with received cardObject

    self.mangopayClient = [[MPAPIClient alloc] initWithCard:responseObject];

Collect card info from the user and add it to mangopayClient

    [self.mangopayClient appendCardInfo:@"XXXXXXXXXXXXXXXX" cardExpirationDate:@"XXXX" cardCvx:@"XXX"];

Register card

    [self.mangopayClient registerCard:^(NSDictionary *response, NSError *error) {
          if (error) {
              NSLog(@"Error: %@", error);
          }
          else { // card was VALIDATED
              NSLog(@"VALIDATED %@", response);
          }
    }];

{'fraction_non_alphanumeric': 0.10516431924882629, 'fraction_numerical': 0.015023474178403756, 'mean_word_length': 3.082375478927203, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '5719461', 'n_tokens_mistral': 720, 'n_tokens_neox': 658, 'n_words': 181}