mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00

- On smaller devices (e.g. iPhone 8), the row height is reduced to fit five rows without truncation. - On smaller devices, the font size is reduced to fit two rows of text for the title. - If there is no thumbnail, the text now takes the full width.
24 lines
731 B
Swift
24 lines
731 B
Swift
//
|
|
// WidgetTableViewCell.swift
|
|
// Widget Extension
|
|
//
|
|
// Created by David Sinclair on 2019-11-26.
|
|
// Copyright © 2019 NewsBlur. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class WidgetTableViewCell: UITableViewCell {
|
|
/// The reuse identifier for this table view cell.
|
|
static let reuseIdentifier = "WidgetTableViewCell"
|
|
|
|
@IBOutlet var barView: BarView!
|
|
@IBOutlet var feedImageView: UIImageView!
|
|
@IBOutlet var feedLabel: UILabel!
|
|
@IBOutlet var titleLabel: UILabel!
|
|
@IBOutlet var contentLabel: UILabel!
|
|
@IBOutlet var authorLabel: UILabel!
|
|
@IBOutlet var dateLabel: UILabel!
|
|
@IBOutlet var thumbnailImageView: UIImageView!
|
|
@IBOutlet var thumbnailTrailingConstraint: NSLayoutConstraint!
|
|
}
|