<commit_before>import UIKit

final class VSaveData:ViewMain
{
    override var panBack:Bool
    {
        get
        {
            return true
        }
    }
}<commit_msg>Layout view bar<commit_after>import UIKit

final class VSaveData:ViewMain
{
    private weak var layoutBarHeight:NSLayoutConstraint!
    
    override var panBack:Bool
    {
        get
        {
            return true
        }
    }
    
    required init(controller:UIViewController)
    {
        super.init(controller:controller)
        
        guard
        
            let controller:CSaveData = controller as? CSaveData
        
        else
        {
            return
        }
        
        factoryViews(controller:controller)
    }
    
    required init?(coder:NSCoder)
    {
        return nil
    }
    
    override func layoutSubviews()
    {
        let width:CGFloat = bounds.width
        layoutBarHeight.constant = width
        
        super.layoutSubviews()
    }
    
    //MARK: private
    
    private func factoryViews(controller:CSaveData)
    {
        let viewBar:VSaveDataBar = VSaveDataBar(controller:controller)
        
        addSubview(viewBar)
        
        NSLayoutConstraint.topToTop(
            view:viewBar,
            toView:self)
        layoutBarHeight = NSLayoutConstraint.height(
            view:viewBar)
        NSLayoutConstraint.equalsHorizontal(
            view:viewBar,
            toView:self)
    }
}
{'fraction_non_alphanumeric': 0.06301939058171745, 'fraction_numerical': 0.0, 'mean_word_length': 1.5942549371633752, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '111408', 'n_tokens_mistral': 396, 'n_tokens_neox': 395, 'n_words': 71}