// // TimelineHeaderView.swift // NetNewsWire // // Created by Stuart Breckenridge on 27/01/2026. // Copyright © 2026 Ranchero Software. All rights reserved. // final class TimelineHeaderView: UICollectionReusableView { static let reuseIdentifier = "TimelineHeaderView" let label = UILabel() override init(frame: CGRect) { super.init(frame: frame) label.translatesAutoresizingMaskIntoConstraints = false label.font = .preferredFont(forTextStyle: .headline) label.textColor = .label addSubview(label) NSLayoutConstraint.activate([ label.leadingAnchor.constraint(equalTo: layoutMarginsGuide.leadingAnchor), label.trailingAnchor.constraint(equalTo: layoutMarginsGuide.trailingAnchor), label.topAnchor.constraint(equalTo: layoutMarginsGuide.topAnchor, constant: 8), label.bottomAnchor.constraint(equalTo: layoutMarginsGuide.bottomAnchor, constant: -8) ]) } required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") } }