DynamicCell
struct DynamicCell
Undocumented
-
Undocumented
Declaration
Swift
let cellReuseIdentifier: TableViewCellReuseIdentifiers
-
Undocumented
Declaration
Swift
let action: DynamicAction
-
Undocumented
Declaration
Swift
let accessoryAction: DynamicAction
-
Undocumented
Declaration
Swift
var tag: String?
-
Undocumented
Declaration
Swift
func configure(cell: UITableViewCell, at indexPath: IndexPath, for viewController: DynamicTableViewController)
-
Undocumented
Declaration
Swift
static func phone(text: String, number: String, accessibilityIdentifier: String? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func imprintHeadlineWithoutBottomInset(text: String, accessibilityIdentifier: String? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func bodyWithoutTopInset(text: String, style: TextCellStyle = .label, accessibilityIdentifier: String? = nil) -> DynamicCell
-
Creates a cell that renders a view of a .html file with interactive texts, such as mail links, phone numbers, and web addresses.
Declaration
Swift
static func html(url: URL?) -> DynamicCell
-
Undocumented
Declaration
Swift
static func identifier(_ identifier: TableViewCellReuseIdentifiers, action: DynamicAction = .none, accessoryAction: DynamicAction = .none, configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func custom<T>(withIdentifier identifier: TableViewCellReuseIdentifiers, action: DynamicAction = .none, accessoryAction: DynamicAction = .none, configure: GenericCellConfigurator<T>? = nil) -> DynamicCell where T : DynamicTableViewController
-
dynamicType(text:
cellStyle: size: weight: style: color: accessibilityIdentifier: accessibilityTraits: action: accessoryAction: configure: ) Undocumented
Declaration
Swift
static func dynamicType(text: String, cellStyle: TextCellStyle = .label, size: CGFloat = 17, weight: UIFont.Weight = .regular, style: UIFont.TextStyle = .body, color: UIColor? = nil, accessibilityIdentifier: String? = nil, accessibilityTraits: UIAccessibilityTraits = .staticText, action: DynamicAction = .none, accessoryAction: DynamicAction = .none, configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func icon(_ image: UIImage?, text: DynamicTableViewIconCell.Text, tintColor: UIColor? = nil, style: ENAFont = .body, iconWidth: CGFloat = 32, selectionStyle: UITableViewCell.SelectionStyle = .none, action: DynamicAction = .none, configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func space(height: CGFloat, color: UIColor? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func bulletPoint( text: String, spacing: DynamicTableViewBulletPointCell.Spacing = .normal, accessibilityIdentifier: String? = nil, accessibilityTraits: UIAccessibilityTraits = .staticText, action: DynamicAction = .none, configure: CellConfigurator? = nil ) -> Self
-
Undocumented
Declaration
Swift
static func title1(text: String, color: UIColor? = nil, accessibilityIdentifier: String?, accessibilityTraits: UIAccessibilityTraits = [.header, .staticText], configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func title2(text: String, color: UIColor? = nil, accessibilityIdentifier: String?, accessibilityTraits: UIAccessibilityTraits = [.header, .staticText], configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func headline(text: String, style: TextCellStyle = .label, color: UIColor? = nil, accessibilityIdentifier: String? = nil, accessibilityTraits: UIAccessibilityTraits = .staticText, action: DynamicAction = .none, configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func body(text: String, style: TextCellStyle = .label, color: UIColor? = nil, accessibilityIdentifier: String? = nil, accessibilityTraits: UIAccessibilityTraits = .staticText, action: DynamicAction = .none, configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func subheadline(text: String, color: UIColor? = nil, accessibilityIdentifier: String?, accessibilityTraits: UIAccessibilityTraits = .staticText, configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func link(placeholder: String, link: String, font: ENAFont, style: ENALabel.Style, color: UIColor? = nil, accessibilityIdentifier: String?, accessibilityTraits: UIAccessibilityTraits = .staticText, configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func footnote(text: String, color: UIColor? = nil, accessibilityIdentifier: String?, accessibilityTraits: UIAccessibilityTraits = .staticText, configure: CellConfigurator? = nil) -> DynamicCell
-
Undocumented
Declaration
Swift
static func euCell(cellModel: EUSettingsViewModel.CountryModel) -> DynamicCell
-
Undocumented
Declaration
Swift
static func emptyCell() -> DynamicCell