NewsBlur/clients/ios/Widget Extension/WidgetTableViewCell.swift
David Sinclair c73c04d861 #1162 (widget)
- 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.
2020-01-23 20:27:29 -08:00

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!
}