<commit_before>//
//  JMMarkSlider.swift
//  Pods
//
//  Created by AlokVaish on 09/12/16.
//
//

import UIKit

@IBDesignable public class JMMarkSlider: UISlider {
    
    @IBInspectable var markWidth: Float             = 1.0
    @IBInspectable var markColor: UIColor           = UIColor(redInt: 106, greenInt: 106, blueInt: 124, alpha: 0.7)
    @IBInspectable var selectedBarColor: UIColor    = UIColor(redInt: 179, greenInt: 179, blueInt: 193, alpha: 0.8)
    @IBInspectable var unselectedBarColor: UIColor  = UIColor(redInt: 55, greenInt: 55, blueInt: 94, alpha: 0.8)
    @IBInspectable var markPositions: [Float]       = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
    @IBInspectable var handlerImage: UIImage!
    @IBInspectable var handlerColor: UIColor!
    //    var cornerRadius:
    
    override public func draw(_ rect: CGRect) {
        super.draw(rect)
        
        // We create an innerRect in which we paint the lines
        var innerRect = rect.insetBy(dx: CGFloat(1.0), dy: CGFloat(10.0))
        UIGraphicsBeginImageContextWithOptions(innerRect.size, false, 0)
        var context = UIGraphicsGetCurrentContext()!
        
        // Selected side<commit_msg>Slider properties marked with public identifier to make them accessible from other frameworks<commit_after>//
//  JMMarkSlider.swift
//  Pods
//
//  Created by AlokVaish on 09/12/16.
//
//

import UIKit

@IBDesignable public class JMMarkSlider: UISlider {
    
    @IBInspectable public var markWidth: Float             = 1.0
    @IBInspectable public var markColor: UIColor           = UIColor(redInt: 106, greenInt: 106, blueInt: 124, alpha: 0.7)
    @IBInspectable public var selectedBarColor: UIColor    = UIColor(redInt: 179, greenInt: 179, blueInt: 193, alpha: 0.8)
    @IBInspectable public var unselectedBarColor: UIColor  = UIColor(redInt: 55, greenInt: 55, blueInt: 94, alpha: 0.8)
    @IBInspectable public var markPositions: [Float]       = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
    @IBInspectable public var handlerImage: UIImage!
    @IBInspectable public var handlerColor: UIColor!
    
    override public func draw(_ rect: CGRect) {
        super.draw(rect)
        
        // We create an innerRect in which we paint the lines
        var innerRect = rect.insetBy(dx: CGFloat(1.0), dy: CGFloat(10.0))
        UIGraphicsBeginImageContextWithOptions(innerRect.size, false, 0)
        var context = UIGraphicsGetCurrentContext()!
        
        // Selected side
{'fraction_non_alphanumeric': 0.10020283975659229, 'fraction_numerical': 0.05273833671399594, 'mean_word_length': 2.889589905362776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3096517', 'n_tokens_mistral': 917, 'n_tokens_neox': 816, 'n_words': 238}