34 lines
753 B
Swift
34 lines
753 B
Swift
//
|
|
// Common.swift
|
|
// List
|
|
//
|
|
// Created by Igor Danich on 30.06.2020.
|
|
// Copyright © 2020 Igor Danich. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
enum Common {
|
|
enum Model {}
|
|
enum Service {}
|
|
enum Completion {}
|
|
}
|
|
|
|
// typealias Subway = SubwaysQuery.Data.City.Subway
|
|
|
|
// let kAuthorizationPassword = "a1111111"
|
|
let kAuthorizationPassword = ""
|
|
|
|
let kCommissionPercent: Decimal = 0.0025
|
|
let kCommissionMin: Decimal = 0.00001
|
|
|
|
typealias Animation = TimeInterval
|
|
extension Animation {
|
|
static let slowest: Animation = 0.3
|
|
static let slow: Animation = 0.25
|
|
static let medium: Animation = 0.2
|
|
static let fast: Animation = 0.15
|
|
static let fastest: Animation = 0.1
|
|
static let none: Animation = 0.0
|
|
}
|