<commit_before>//
//  UserMessageController.swift
//  Settings
//
//  Created by <NAME> on 8/27/18.
//  Copyright © 2018 ShortSands. All rights reserved.
//

import UIKit
import MessageUI

class UserMessageController : MFMessageComposeViewController, MFMessageComposeViewControllerDelegate {
    
    static func isAvailable() -> Bool {
        return MFMessageComposeViewController.canSendText()
    }
    
    override func loadView() {
        super.loadView()
        
        self.modalTransitionStyle = .coverVertical
        self.messageComposeDelegate = self
        self.body = "\n\nhttps://itunes.apple.com/app/id1073396349"
        //self.body = "http://appstore.com/safebibleprivacysafebible"
    }
    
    func messageComposeViewController(_ controller: MFMessageComposeViewController,
                                      didFinishWith result: MessageComposeResult) {
        controller.dismiss(animated: true, completion: nil)<commit_msg>Settings some final touches on share safebible.<commit_after>//
//  UserMessageController.swift
//  Settings
//
//  Created by <NAME> on 8/27/18.
//  Copyright © 2018 ShortSands. All rights reserved.
//

import UIKit
import MessageUI

class UserMessageController : MFMessageComposeViewController, MFMessageComposeViewControllerDelegate {
    
    static func isAvailable() -> Bool {
        return MFMessageComposeViewController.canSendText()
    }
    
    override func loadView() {
        super.loadView()
        
        self.modalTransitionStyle = .flipHorizontal
        self.messageComposeDelegate = self
        self.body = "I like it!\nhttps://itunes.apple.com/app/id1073396349"
    }
    
    func messageComposeViewController(_ controller: MFMessageComposeViewController,
                                      didFinishWith result: MessageComposeResult) {
        controller.dismiss(animated: true, completion: nil)
{'fraction_non_alphanumeric': 0.08603292618162507, 'fraction_numerical': 0.0201805629314923, 'mean_word_length': 2.7455268389662026, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1372817', 'n_tokens_mistral': 548, 'n_tokens_neox': 490, 'n_words': 109}