2019-10-22 03:31:25 -05:00
|
|
|
//
|
|
|
|
// VibrantLabel.swift
|
|
|
|
// NetNewsWire-iOS
|
|
|
|
//
|
|
|
|
// Created by Maurice Parker on 10/22/19.
|
|
|
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import UIKit
|
|
|
|
|
|
|
|
class VibrantLabel: UILabel {
|
2025-01-22 22:18:09 -08:00
|
|
|
|
2019-10-22 03:31:25 -05:00
|
|
|
override init(frame: CGRect) {
|
|
|
|
super.init(frame: frame)
|
|
|
|
commonInit()
|
|
|
|
}
|
2025-01-22 22:18:09 -08:00
|
|
|
|
2019-10-22 03:31:25 -05:00
|
|
|
required init?(coder: NSCoder) {
|
|
|
|
super.init(coder: coder)
|
|
|
|
commonInit()
|
|
|
|
}
|
2025-01-22 22:18:09 -08:00
|
|
|
|
2019-10-22 03:31:25 -05:00
|
|
|
private func commonInit() {
|
|
|
|
highlightedTextColor = AppAssets.vibrantTextColor
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|