<commit_before><commit_msg>Add View subclass that may have border<commit_after>//
//  COBView.swift
//  CallOfBeacons
//
//  Created by <NAME> on 04.06.2016.
//  Copyright © 2016 <NAME>, <NAME>. All rights reserved.
//

import UIKit

@IBDesignable
class COBView: UIView {
    @IBInspectable var cornerRadius: CGFloat = 0 {
        didSet {
            layer.cornerRadius = cornerRadius
            layer.masksToBounds = cornerRadius > 0
        }
    }
    
    @IBInspectable var borderWidth: CGFloat = 0 {
        didSet {
            layer.borderWidth = borderWidth
        }
    }
    
    @IBInspectable var borderColor: UIColor? {
        didSet {
            layer.borderColor = borderColor?.CGColor
        }
    }
}

{'fraction_non_alphanumeric': 0.09655172413793103, 'fraction_numerical': 0.020689655172413793, 'mean_word_length': 1.9876543209876543, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, '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': '1206259', 'n_tokens_mistral': 242, 'n_tokens_neox': 226, 'n_words': 54}