<commit_before>//
//  UIEdgeInsets.swift
//  Interchange
//
//  Created by <NAME> on 30/10/2015.
//  Copyright © 2015 Interchange Management Ltd. All rights reserved.
//

import Foundation

public extension UIEdgeInsets {
    
    /// Returns `top + bottom` for use in calculating size with an inset.
    var totalYInset:CGFloat {
        return top + bottom
    }
    <commit_msg>Added UIEdgeInsets convenience creator<commit_after>//
//  UIEdgeInsets.swift
//  Interchange
//
//  Created by <NAME> on 30/10/2015.
//  Copyright © 2015 Interchange Management Ltd. All rights reserved.
//

import Foundation

/**
 
 Convenience creator for even `UIEdgeInsets`.
 
 - parameter inset: The amount for each side of the inset.
 - returns: A `UIEdgeInsets` with `top`, `left`, `bottom` and `right` all set to `inset`.
*/
public func UIEdgeInsetsMakeEqual(inset:CGFloat) -> UIEdgeInsets {
    
    return UIEdgeInsetsMake(inset, inset, inset, inset)
}

public extension UIEdgeInsets {
    
    /// Returns `top + bottom` for use in calculating size with an inset.
    var totalYInset:CGFloat {
        return top + bottom
    }
    
{'fraction_non_alphanumeric': 0.10320284697508897, 'fraction_numerical': 0.021352313167259787, 'mean_word_length': 2.865979381443299, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '6942512', 'n_tokens_mistral': 374, 'n_tokens_neox': 338, 'n_words': 116}