This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
extension UIColor | |
{ | |
struct dgs | |
{ | |
static let edwardColor: UIColor = | |
{ | |
return UIColor.colorWithHexString("#B1B3B3")! | |
}() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface BARAnimation : NSObject | |
/*! Just start to construct your animation from this method. */ | |
+ (instancetype)construct; | |
/*! Before all animations will execute this block. */ | |
- (instancetype)initially:(void (^)(void))initiallyBlock; | |
/*! Add animations and link it with each other. */ | |
- (instancetype)animationWithDuration:(NSTimeInterval)duration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal extension UIImage { | |
private static let kSubstrateCircleDiameter: CGFloat = 24.0 | |
/// Возвращает картинку, покрашенную в цвет color | |
internal func colorized(with color: UIColor?) -> UIImage { | |
guard let color = color else { return self } | |
UIGraphicsBeginImageContextWithOptions(self.size, false, self.scale) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import VNCommon | |
import VNServices | |
internal protocol IHaveReport { | |
associatedtype TReportType | |
} | |
internal class FlowTableVM<TReport>: FlowSimpleTableVM, IHaveReport { | |
typealias TReportType = TReport |