<commit_before>//
//  AnimationParameters.swift
//  Pods
//
//  Created by <NAME> on 2/3/17.
//
//

import Foundation

/// Protocol provides parametes of prestetion or dismission animation
public protocol CascadeAnimationParameters {
    /// Duration of animation.
    var animationDuration: TimeInterval { get set }
    /// Alpha of presenting view controller.
    var presentingVCAlpha: CGFloat { get set }
    /// Lenth from top of presenting view controller to the top of the screen.
    var presentingTopMargin: CGFloat { get set  }
    /// Lenth from top of presented view controller to the top of the screen.
    var presentedTopMargin: CGFloat { get set }
    /// Scale of the presenting view controller.
    var scale: CGFloat { get set }
    /// Background color.
    var backgroundColor: UIColor { get set }
    /// Corner radius of the viewControllers.
    var cornerRadius: CGFloat { get set }
    
    var viewTag: Int { get }
}

extension CascadeAnimationParameters {
    var viewTag: Int {
        return 101
    }
}<commit_msg>removed setters from Parameter Protocol<commit_after>//
//  AnimationParameters.swift
//  Pods
//
//  Created by <NAME> on 2/3/17.
//
//

import Foundation

/// Protocol provides parametes of prestetion or dismission animation
public protocol CascadeAnimationParameters {
    /// Duration of animation.
    var animationDuration: TimeInterval { get }
    /// Alpha of presenting view controller.
    var presentingVCAlpha: CGFloat { get }
    /// Lenth from top of presenting view controller to the top of the screen.
    var presentingTopMargin: CGFloat { get  }
    /// Lenth from top of presented view controller to the top of the screen.
    var presentedTopMargin: CGFloat { get }
    /// Scale of the presenting view controller.
    var scale: CGFloat { get }
    /// Background color.
    var backgroundColor: UIColor { get }
    /// Corner radius of the viewControllers.
    var cornerRadius: CGFloat { get }
}

internal extension CascadeAnimationParameters {
    var viewTag: Int {
        return 101
    }
}
{'fraction_non_alphanumeric': 0.08102862688015526, 'fraction_numerical': 0.006792819019893256, 'mean_word_length': 2.70863309352518, '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': '3221332', 'n_tokens_mistral': 566, 'n_tokens_neox': 553, 'n_words': 222}