<commit_before># SHSupportEmail
[![Platform](https://img.shields.io/badge/platform-iOS-blue.svg?style=flat)](https://img.shields.io/badge/platform-iOS-blue.svg?style=flat) [![CocoaPods](https://img.shields.io/cocoapods/v/SHSupportEmail.svg?style=flat)](https://cocoapods.org/pods/SHSupportEmail) [![Swift Version](https://img.shields.io/badge/Swift-3.0+-F16D39.svg?style=flat)](https://developer.apple.com/swift)

Prepopulates emails with support information in iOS apps

<img src="/Screenshot.PNG" width="300">

### About
SHSupportEmail is about simplifying support for apps. By prepopulating device information in your embedded support email link, you can save time and needless back and forth between you and your users. Check out [Countdown Widget](https://itunes.apple.com/us/app/countdown-widget-keep-track/id917514700?mt=8) to see SHSupportEmail in action.

### Requirements
- Xcode 8.3+
- iOS 8.0+
- Swift 3.1+

### Installation
#### CocoaPods

The preferred installation method is with [CocoaPods](https://cocoapods.org). Add the following to your Podfile:
```ruby
pod 'SHSupportEmail', '~> 1.3.0'
```

### Usage
SHSupportEmail is really simple and currently has just one method.
    let supportEmail = SHSupportEmail()
    supportEmail.send(to: ["<EMAIL>"], subject: "Support", from: self) { result, error in
        switch result {
            case .cancelled:<commit_msg>Fixed README spacing<commit_after># SHSupportEmail
[![Platform](https://img.shields.io/badge/platform-iOS-blue.svg?style=flat)](https://img.shields.io/badge/platform-iOS-blue.svg?style=flat) [![CocoaPods](https://img.shields.io/cocoapods/v/SHSupportEmail.svg?style=flat)](https://cocoapods.org/pods/SHSupportEmail) [![Swift Version](https://img.shields.io/badge/Swift-3.0+-F16D39.svg?style=flat)](https://developer.apple.com/swift)

Prepopulates emails with support information in iOS apps

<img src="/Screenshot.PNG" width="300">

### About
SHSupportEmail is about simplifying support for apps. By prepopulating device information in your embedded support email link, you can save time and needless back and forth between you and your users. Check out [Countdown Widget](https://itunes.apple.com/us/app/countdown-widget-keep-track/id917514700?mt=8) to see SHSupportEmail in action.

### Requirements
- Xcode 8.3+
- iOS 8.0+
- Swift 3.1+

### Installation
#### CocoaPods

The preferred installation method is with [CocoaPods](https://cocoapods.org). Add the following to your Podfile:
```ruby
pod 'SHSupportEmail', '~> 1.3.0'
```

### Usage
SHSupportEmail is really simple and currently has just one method.

    let supportEmail = SHSupportEmail()
    supportEmail.send(to: ["<EMAIL>"], subject: "Support", from: self) { result, error in
        switch result {
            case .cancelled:
{'fraction_non_alphanumeric': 0.14347512617159336, 'fraction_numerical': 0.020187454938716654, 'mean_word_length': 4.8544303797468356, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 16, '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': '2689791', 'n_tokens_mistral': 962, 'n_tokens_neox': 887, 'n_words': 223}