<commit_before>//
//  PieChartSlice.swift
//  Delirium
//
//  Created by <NAME> on 23/08/16.
//  Copyright © 2016 CocoaPods. All rights reserved.
//

import UIKit

/// The `PieChartSlice` is responsible for a slice that is displayed in the pie chart.
public struct PieChartSlice {
    
    /// The value can be any given number. When calculating the size of the slice we will take the sum of all the values into account and calculate the relative size of the slice depening on the value.
    public var value: Float
    
    /// The outer ring color of the slice.
    public var color: UIColor
    
    /// We need a value and a color in order to properly initialize the slice.
    ///
    /// - Parameter value: The given value
    /// - Parameter color: The given color
    public init(value: Float, color: UIColor) {
        self.value = value
        self.color = color
    }
}<commit_msg>Make the PieChartSlice Objective-C compatible.<commit_after>//
//  PieChartSlice.swift
//  Delirium
//
//  Created by <NAME> on 23/08/16.
//  Copyright © 2016 CocoaPods. All rights reserved.
//

import UIKit

/// The `PieChartSlice` is responsible for a slice that is displayed in the pie chart.
public class PieChartSlice: NSObject {
    
    /// The value can be any given number. When calculating the size of the slice we will take the sum of all the values into account and calculate the relative size of the slice depening on the value.
    public var value: Float
    
    /// The outer ring color of the slice.
    public var color: UIColor
    
    /// We need a value and a color in order to properly initialize the slice.
    ///
    /// - Parameter value: The given value
    /// - Parameter color: The given color
    public init(value: Float, color: UIColor) {
        self.value = value
        self.color = color
    }
}
{'fraction_non_alphanumeric': 0.08150984682713348, 'fraction_numerical': 0.010940919037199124, 'mean_word_length': 2.387037037037037, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1065376', 'n_tokens_mistral': 526, 'n_tokens_neox': 500, 'n_words': 243}