FUIMapDetailTagObjectTableViewCell

open class FUIMapDetailTagObjectTableViewCell : FUIBaseDrawingTableViewCell<FUIMapDetailTagObjectView>

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 of String 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.preferredFioriFont(forTextStyle: .headline)
  • 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: [FUITag] { get set }