<commit_before>//
//  SystemVersionCell.swift
//  CTFeedbackSwift
//
//  Created by <NAME> 2017/09/24.
//  Copyright © 2017 CAPH TECH. All rights reserved.
//

import UIKit

class SystemVersionCell: UITableViewCell {
    override public init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: .value1, reuseIdentifier: reuseIdentifier)
    }

    required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) }
}

extension SystemVersionCell: CellFactoryProtocol {
    class func configure(_ cell: SystemVersionCell,
                         with item: SystemVersionItem,
                         for indexPath: IndexPath,
                         eventHandler: Any?) {
        cell.textLabel?.text = CTLocalizedString("CTFeedback.iOS")
        cell.detailTextLabel?.text = item.version
        cell.selectionStyle = .none
    }
}
<commit_msg>One more place to choose between iOS and macOS.<commit_after>//
//  SystemVersionCell.swift
//  CTFeedbackSwift
//
//  Created by <NAME> 2017/09/24.
//  Copyright © 2017 CAPH TECH. All rights reserved.
//

import UIKit

class SystemVersionCell: UITableViewCell {
    override public init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: .value1, reuseIdentifier: reuseIdentifier)
    }

    required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) }
}

extension SystemVersionCell: CellFactoryProtocol {
    class func configure(_ cell: SystemVersionCell,
                         with item: SystemVersionItem,
                         for indexPath: IndexPath,
                         eventHandler: Any?) {
        #if targetEnvironment(macCatalyst)
            cell.textLabel?.text = "macOS"
        #else
            cell.textLabel?.text = CTLocalizedString("CTFeedback.iOS")
        #endif
        cell.detailTextLabel?.text = item.version
        cell.selectionStyle = .none
    }
}

{'fraction_non_alphanumeric': 0.09642301710730948, 'fraction_numerical': 0.01347848626231208, 'mean_word_length': 2.5283363802559413, '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': '978506', 'n_tokens_mistral': 573, 'n_tokens_neox': 523, 'n_words': 130}