An amazing project that generates micro reports from tournament results
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
640 B

//
// TitleLabel.swift
// TournamentStats
//
// Created by Laurent Morvillier on 06/08/2019.
// Copyright © 2019 Stax River. All rights reserved.
//
import Foundation
import UIKit
class TitleLabel : UILabel {
init(frame: CGRect, text: String) {
super.init(frame: frame)
self._configure()
}
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
self._configure()
}
fileprivate func _configure() {
self.textColor = Fonts.titleColor
self.text = text
self.textAlignment = .left
self.font = Fonts.title
}
}