FUIMapDetailTagObjectTableViewCell
open class FUIMapDetailTagObjectTableViewCell : FUIObjectTableViewCell
A FUIMapDetailTagObjectTableViewCell
that inherits from FUIMapDetailBaseObjectTableViewCell
and FUITags
. Add tags to the tableViewCell in the upper left corner above the subheadline text.
Available:
tags
: An array ofString
that will be wrapped in a bordered cell. These tags will go in the upper left corner of the cell.
Initialization and Configuration
In the viewDidLoad
tableView.register(FUIMapDetailTagObjectTableViewCell.self, forCellReuseIdentifier: FUIMapDetailTagObjectTableViewCell.reuseIdentifier)
In the tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath)
let cell = tableView.dequeueReusableCell(withIdentifier: FUIMapDetailTagObjectTableViewCell.reuseIdentifier, for: indexPath) as! FUIMapDetailTagObjectTableViewCell
cell.headlineText = "VA Palo Alto Health Care Sys wraps to two lines..."
cell.headlineLabel.numberOfLines = 1
cell.footnoteText = "Medical Center"
cell.statusLabel.font = UIFont.preferredFont(forTextStyle: .headline)
-
Declaration
Swift
public override init(style: UITableViewCellStyle, reuseIdentifier: String?)
-
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
An array of
String
that will be wrapped in a bordered cell. These tags will go in the upper left corner of the cell.Declaration
Swift
public var tags: [String] { get set }