InnerViewContainer

public protocol InnerViewContainer : InnerViewContainerDimensions, InnerViewContainerEnabled

Component helper protocol, used to obtain a container bounds, when the container is not the immediate superview.

  • Enhancement to directionalLayoutMargins, which allows the view to preserve some of the superview’s layout margins, but fix others. Expecially relevant for subviews of UITableViewCell.contentView, where the horizontal margins should be preserved, but a shorter top or bottom margin is desired than that set by the table view.

    Declaration

    Swift

    public var fixedDirectionalLayoutMargins: NSDirectionalEdgeInsets { get set }
  • body Extension method

    Title text to display

    Declaration

    Swift

    public var body: FUIText { get }
  • bodyAttributedText Extension method

    Developer-formatted NSAttributedString to display as the subtitle. Will override body value, and default styling.

    Declaration

    Swift

    public var bodyAttributedText: NSAttributedString! { get set }
  • bodyStyleClassPath Extension method

    NUIStyleClassPath for body property

    Declaration

    Swift

    public var bodyStyleClassPath: [FioriStyle] { get set }
  • emptyText Extension method

    Text to display, when value for the category in the series is nil.

    Declaration

    Swift

    public var emptyText: FUIText { get set }
  • emptyTextStyleClassPath Extension method

    NUIStyleClassPath for emptyText property

    Declaration

    Swift

    public var emptyTextStyleClassPath: [FioriStyle] { get set }
  • footnote Extension method

    Title text to display

    Declaration

    Swift

    public var footnote: FUIText { get }
  • footnoteAttributedText Extension method

    Developer-formatted NSAttributedString to display as the subtitle. Will override footnote value, and default styling.

    Declaration

    Swift

    public var footnoteAttributedText: NSAttributedString! { get set }
  • footnoteStyleClassPath Extension method

    NUIStyleClassPath for footnote property

    Declaration

    Swift

    public var footnoteStyleClassPath: [FioriStyle] { get set }
  • iconImages Extension method

    FUIGlyphImages (UIImage or String) which are rendered in an icon stack.

    Declaration

    Swift

    public var iconImages: [FUIGlyphImage] { get set }
  • horizontalIcons Extension method

    FUIGlyphImages (UIImage or String) which are rendered in an horizontal icon stack.

    Declaration

    Swift

    public var horizontalIcons: [FUIGlyphImage] { get set }
  • footnoteIcons Extension method

    FUIGlyphImages (UIImage or String). These are rendered in the horizontal view below main.

    Declaration

    Swift

    public var footnoteIcons: [FUIGlyphImage] { get set }
  • iconsSpacing Extension method

    The spacing for the footnote icons. The default is -1.

    Declaration

    Swift

    public var iconsSpacing: CGFloat { get set }
  • footnoteIconsMaxCount Extension method

    The maximum number of footnote icons. The default is nil.

    Declaration

    Swift

    public var footnoteIconsMaxCount: Int? { get set }
  • footnoteIconSize Extension method

    Dimensions of footnoteIcons size. The default is 16x16.

    Declaration

    Swift

    public var footnoteIconSize: CGSize { get set }
  • isFootnoteIconCircular Extension method

    Specifies whether the footnoteIcons are drawn as circular. The default is true.

    Declaration

    Swift

    public var isFootnoteIconCircular: Bool { get set }
  • kpiItems Extension method

    Array of FUIKPIViewItems to be formatted by the system and displayed in the KPIView

    Declaration

    Swift

    public var kpiItems: [FUIKPIViewItem] { get set }
  • kpiAttributedText Extension method

    Developer formatted NSAttributedString to display in the KPIView. Will override values set to kpiItems property.

    Declaration

    Swift

    public var kpiAttributedText: NSAttributedString! { get set }
  • kpiUnitItemStyleClassPath Extension method

    NUIStyleClassPath for kpiUnitItem property

    Declaration

    Swift

    public var kpiUnitItemStyleClassPath: [FioriStyle] { get set }
  • kpiMetricItemStyleClassPath Extension method

    NUIStyleClassPath for kpiMetricItem property

    Declaration

    Swift

    public var kpiMetricItemStyleClassPath: [FioriStyle] { get set }
  • kpiIconItemStyleClassPath Extension method

    NUIStyleClassPath for kpiIconItem property

    Declaration

    Swift

    public var kpiIconItemStyleClassPath: [FioriStyle] { get set }
  • NUIStyleClassPath for kpiFractionItem property

    Declaration

    Swift

    public var kpiFractionItemStyleClassPath: [FioriStyle] { get set }
  • ItemIdentifier Extension method

    A hashable type for card content cell data model.

    Declaration

    Swift

    public typealias ItemIdentifier = InnerView.ItemIdentifier
  • tableView Extension method

    Container for list card content

    Declaration

    Swift

    public var tableView: UITableView { get }
  • cellTappedHandler Extension method

    Cell tapped action closure

    Declaration

    Swift

    public var cellTappedHandler: ((IndexPath, ItemIdentifier) -> Void)? { get set }
  • dataSource Extension method

    Diffable data source for list card table view

    Declaration

    Swift

    public var dataSource: UITableViewDiffableDataSource<Int, ItemIdentifier>! { get }
  • cellProvider Extension method

    Cell provider for list card table view

    Declaration

    Swift

    public var cellProvider: ((UITableView, IndexPath, ItemIdentifier) -> UITableViewCell)? { get set }
  • Registers a class to use in list card content table cells.

    Declaration

    Swift

    public func register(_ cellClass: AnyClass?, forCellReuseIdentifier identifier: String)
  • setItems(_:) Extension method

    Set the items with the specified identifiers to the snapshot.

    Declaration

    Swift

    public func setItems(_ items: [ItemIdentifier])
  • appendItems(_:) Extension method

    Adds the items with the specified identifiers to the snapshot.

    Declaration

    Swift

    public func appendItems(_ items: [ItemIdentifier])
  • deleteItems(_:) Extension method

    Deletes the items with the specified identifiers from the snapshot.

    Declaration

    Swift

    public func deleteItems(_ items: [ItemIdentifier])
  • deleteAllItems() Extension method

    Deletes all of the items from the snapshot.

    Declaration

    Swift

    public func deleteAllItems()
  • insertItems(_:beforeItem:) Extension method

    Inserts the provided items immediately before the item with the specified identifier in the snapshot.

    Declaration

    Swift

    public func insertItems(_ items: [ItemIdentifier], beforeItem: ItemIdentifier)
  • insertItems(_:afterItem:) Extension method

    Inserts the provided items immediately after the item with the specified identifier in the snapshot.

    Declaration

    Swift

    public func insertItems(_ items: [ItemIdentifier], afterItem: ItemIdentifier)
  • moveItem(_:beforeItem:) Extension method

    Moves the item from its current position in the snapshot to the position immediately before the specified item.

    Declaration

    Swift

    public func moveItem(_ item: ItemIdentifier, beforeItem: ItemIdentifier)
  • moveItem(_:afterItem:) Extension method

    Moves the item from its current position in the snapshot to the position immediately after the specified item.

    Declaration

    Swift

    public func moveItem(_ item: ItemIdentifier, afterItem: ItemIdentifier)
  • reloadItems(_:) Extension method

    Reloads the data within the specified items in the snapshot.

    Declaration

    Swift

    public func reloadItems(_ items: [ItemIdentifier])
  • detailImage Extension method

    UIImage to display as the detail

    Declaration

    Swift

    public var detailImage: UIImage? { get set }
  • headlineText Extension method

    String text to display as the headline

    Declaration

    Swift

    public var headlineText: String? { get set }
  • subheadlineText Extension method

    String text to display as the subheadline

    Declaration

    Swift

    public var subheadlineText: String? { get set }
  • footnoteText Extension method

    String text to display as the footnote

    Declaration

    Swift

    public var footnoteText: String? { get set }
  • descriptionText Extension method

    String text to display as the description

    Declaration

    Swift

    public var descriptionText: String? { get set }
  • statusText Extension method

    String text to display as the status

    Declaration

    Swift

    public var statusText: String? { get set }
  • substatusText Extension method

    String text to display as the substatus

    Declaration

    Swift

    public var substatusText: String? { get set }
  • statusImage Extension method

    UIImage to display as the status

    Declaration

    Swift

    public var statusImage: UIImage? { get set }
  • substatusImage Extension method

    UIImage to display as the substatus

    Declaration

    Swift

    public var substatusImage: UIImage? { get set }
  • bodyLabel Extension method

    Label property configuration for body content.

    Remark

    a UILabel will not be rendered in the view hierarchy at runtime; text and configurations will produce a NSAttributedString.

    Declaration

    Swift

    public var bodyLabel: FUILabel { get }
  • bodyText Extension method

    Optional string for body content.

    Declaration

    Swift

    public var bodyText: String? { get set }
  • detailContentView Extension method

    Optional subview of FUIObjectHeaderView. Typically used to render FUIKPIView, or FUIChartHeaderContentView.

    Remark

    MUST implement intrinsicContentSize for correct layout.

    Declaration

    Swift

    public var detailContentView: UIView? { get set }
  • labelItems Extension method

    An array of FUILabelItems; v2 only

    Declaration

    Swift

    public var labelItems: [FUILabelItem] { get set }
  • numberOfLabelItems Extension method

    The maximum number of label items; v2 only

    Declaration

    Swift

    public var numberOfLabelItems: Int { get set }
  • kpiView Extension method

    KPI displayed in the right accessory area. v2 only.

    Declaration

    Swift

    public var kpiView: FUIKPIView? { get set }
  • statusImageViewAlignment Extension method

    The statusImageView alignment relative to statusLabel; v2 only

    Declaration

    Swift

    public var statusImageViewAlignment: FUILabelItem.Alignment { get set }
  • substatusImageViewAlignment Extension method

    The substatusImageView alignment relative to substatusLabel; v2 only

    Declaration

    Swift

    public var substatusImageViewAlignment: FUILabelItem.Alignment { get set }
  • headlineLabel Extension method

    FUILabel representing the headline

    Declaration

    Swift

    public var headlineLabel: FUILabel { get }
  • subheadlineLabel Extension method

    FUILabel representing the subheadline

    Declaration

    Swift

    public var subheadlineLabel: FUILabel { get }
  • footnoteLabel Extension method

    FUILabel representing the footnote

    Declaration

    Swift

    public var footnoteLabel: FUILabel { get }
  • descriptionLabel Extension method

    FUILabel representing the description

    Declaration

    Swift

    public var descriptionLabel: FUILabel { get }
  • statusLabel Extension method

    FUILabel representing the status

    Declaration

    Swift

    public var statusLabel: FUILabel { get }
  • substatusLabel Extension method

    FUILabel representing the substatus

    Declaration

    Swift

    public var substatusLabel: FUILabel { get }
  • statusImageView Extension method

    FUIImageView representing the status

    Declaration

    Swift

    public var statusImageView: FUIImageView { get }
  • substatusImageView Extension method

    FUIImageView representing the substatus

    Declaration

    Swift

    public var substatusImageView: FUIImageView { get }
  • detailImageView Extension method

    FUIImageView representing the detail

    Declaration

    Swift

    public var detailImageView: FUIImageView { get }
  • avatars Extension method

    FUIGlyphImages (UIImage or String) displayed in groupedAvatarsView. Setting avatars will cause detailImageView.image to be invalid. The maximum number of images in avatars is 2.

    Declaration

    Swift

    public var avatars: [FUIGlyphImage] { get set }
  • avatarSize Extension method

    Dimensions of grouped avatars container. Default is 45x45.

    Declaration

    Swift

    public var avatarSize: CGSize { get set }
  • avatarBorderWidth Extension method

    Dimensions of grouped avatars border width. Default is 0.33.

    Declaration

    Swift

    public var avatarBorderWidth: CGFloat { get set }
  • avatarBorderColor Extension method

    UIColor for avatar border color. Default is separator.

    Declaration

    Swift

    public var avatarBorderColor: UIColor { get set }
  • isAvatarCircular Extension method

    Specifies whether the avatars are drawn as circular. The default is true.

    Declaration

    Swift

    public var isAvatarCircular: Bool { get set }
  • indicatorImageView Extension method

    FUIImageView representing the Indicator

    Declaration

    Swift

    public var indicatorImageView: FUIImageView { get }
  • indicatorImageViewSize Extension method

    Dimensions of indicatorImageViewSize. The default is 16x16.

    Declaration

    Swift

    public var indicatorImageViewSize: CGSize { get set }
  • splitPercent Extension method

    Distribution of left and right content columns, when in .regular horizontal content mode. Defaults to 0.5.

    Declaration

    Swift

    public var splitPercent: CGFloat { get set }
  • isApplyingSplitPercent Extension method

    Specifies whether the splitPercent is applied. If not, the .compact variant of the layout will be used, even when in .regular mode. Defaults to true.

    Declaration

    Swift

    public var isApplyingSplitPercent: Bool { get set }
  • statusDisplayMode Extension method

    Distribution of status display mode..text prefer text displayed even status image is set, .image prefer image displayed even status text is set, or .both that status text and image will displayed horizontal way . Default to .text

    Declaration

    Swift

    public var statusDisplayMode: FUIStatusDisplayMode { get set }
  • showDescriptionInCompact Extension method

    Specifies whether show description in .compact mode for object view

    Declaration

    Swift

    public var showDescriptionInCompact: Bool { get set }
  • preserveIconStackSpacing Extension method

    Specifies whether the dimensions of the iconImages should be preserved, even if the property is empty. Defaults to false.

    Declaration

    Swift

    public var preserveIconStackSpacing: Bool { get set }
  • preserveDetailImageSpacing Extension method

    Specifies whether the dimensions of the detailImageView should be preserved, even if the image property is empty. Defaults to false.

    Declaration

    Swift

    public var preserveDetailImageSpacing: Bool { get set }
  • Specifies whether the height of the description content will be limited to match the height of content in the headline, subheadline, and footnote labels for regular mode. In compact mode, this property will be ignored. Defaults to true.

    Declaration

    Swift

    public var isLimitingHeightToMainContent: Bool { get set }
  • placeholder Extension method

    Placeholder text to display

    Declaration

    Swift

    public var placeholder: FUIText { get }
  • placeholderAttributedText Extension method

    Developer formatted NSAttributedString to display as the placeholder. Will override placeholder value, and default styling.

    Declaration

    Swift

    public var placeholderAttributedText: NSAttributedString! { get set }
  • placeholderStyleClassPath Extension method

    NUIStyleClassPath for placeholder property

    Declaration

    Swift

    public var placeholderStyleClassPath: [FioriStyle] { get set }
  • placeholderNuiClass Extension method

    NUI Class for placeholder property

    Declaration

    Swift

    public var placeholderNuiClass: String? { get set }
  • seriesTitles Extension method

    Titles for each of the data series.

    Declaration

    Swift

    public var seriesTitles: [FUIText] { get set }
  • seriesTitlesAttributedText Extension method

    Developer formatted NSAttributedString to display as the series titles. Will override seriesTitles values, and default styling.

    Declaration

    Swift

    public var seriesTitlesAttributedText: NSAttributedString! { get set }
  • seriesTitlesStyleClassPath Extension method

    NUIStyleClassPath for seriesTitles property

    Declaration

    Swift

    public var seriesTitlesStyleClassPath: [FioriStyle] { get set }
  • status Extension method

    Status text to display

    Declaration

    Swift

    public var status: FUIText { get }
  • statusAttributedText Extension method

    Developer formatted NSAttributedString to display as the status. Will override status value, and default styling.

    Declaration

    Swift

    public var statusAttributedText: NSAttributedString! { get set }
  • statusStyleClassPath Extension method

    NUIStyleClassPath for status property

    Declaration

    Swift

    public var statusStyleClassPath: [FioriStyle] { get set }
  • statusImage Extension method

    UIImage representing the status image

    Declaration

    Swift

    public var statusImage: UIImage? { get set }
  • statusImageStyleClassPath Extension method

    NUIStyleClassPath for statusImage property

    Declaration

    Swift

    public var statusImageStyleClassPath: [FioriStyle] { get set }
  • tintState Extension method

    the tintState of the container view.

    Declaration

    Swift

    public var tintState: FUIControlState { get }
  • Adds the tint attributes to the property for the specified tint state.

    Declaration

    Swift

    func addTintAttributes(_ attributes: [NSAttributedStringKey : Any], for property: FUIPropertyRef, state: InnerView.TintState)

    Parameters

    attributes

    The tint attributes to be added.

    property

    The specified property the attributes to be added.

    state

    The specified tint state the attributes to be applied.

  • Sets the tint attributes to the property for the specified tint state.

    Declaration

    Swift

    func setTintAttributes(_ attributes: [NSAttributedString.Key : Any], for property: FUIPropertyRef, state: InnerView.TintState)

    Parameters

    attributes

    The tint attributes to be set.

    property

    The specified property the attributes to be set.

    state

    The specified tint state the attributes to be applied.

  • subtitle Extension method

    Subtitle text to display

    Declaration

    Swift

    public var subtitle: FUIText { get }
  • subtitleAttributedText Extension method

    Developer formatted NSAttributedString to display as the subtitle. Will override subtitle value, and default styling.

    Declaration

    Swift

    public var subtitleAttributedText: NSAttributedString! { get set }
  • subtitleStyleClassPath Extension method

    NUIStyleClassPath for subtitle property

    Declaration

    Swift

    public var subtitleStyleClassPath: [FioriStyle] { get set }
  • value Extension method

    Text to display for the values

    Declaration

    Swift

    public var value: Bool { get set }
  • onChangeHandler Extension method

    NSAttributedString describing list of tags. If set by developer, will override value of the tags property.

    Declaration

    Swift

    public var onChangeHandler: ((Bool) -> Void)? { get set }
  • tagsStyleClassPath Extension method

    NUIStyleClassPath for tags property

    Declaration

    Swift

    public var tagsStyleClassPath: [FioriStyle] { get set }
  • tags Extension method

    Text to display for the values

    Declaration

    Swift

    public var tags: [FUITag] { get set }
  • numberOfTagLines Extension method

    number of tag lines

    Declaration

    Swift

    public var numberOfTagLines: Int { get set }
  • tagsAttributedText Extension method

    NSAttributedString describing the list of tags. If set by the developer, this will override the value of the tags property.

    Declaration

    Swift

    public var tagsAttributedText: NSAttributedString! { get set }
  • tagsStyleClassPath Extension method

    NUIStyleClassPath for tags property

    Declaration

    Swift

    public var tagsStyleClassPath: [FioriStyle] { get set }
  • title Extension method

    Title text to display

    Declaration

    Swift

    public var title: FUIText { get }
  • titleAttributedText Extension method

    Developer-formatted NSAttributedString to display as the subtitle. Will override title value, and default styling.

    Declaration

    Swift

    public var titleAttributedText: NSAttributedString! { get set }
  • titleStyleClassPath Extension method

    NUIStyleClassPath for title property

    Declaration

    Swift

    public var titleStyleClassPath: [FioriStyle] { get set }
  • trend Extension method

    Text to describe the trend

    Declaration

    Swift

    public var trend: FUIText { get }
  • trendImage Extension method

    Image for the trend

    Declaration

    Swift

    public var trendImage: UIImage? { get set }
  • trendAttributedText Extension method

    Developer formatted NSAttributedString to display as the trend. Will override trend and trendImage values, and default styling.

    Declaration

    Swift

    public var trendAttributedText: NSAttributedString! { get set }
  • trendSemanticColor Extension method

    SemanticColor defined for the trend. Will be applied to trend and trendImage content.

    Declaration

    Swift

    public var trendSemanticColor: UIColor? { get set }
  • trendStyleClassPath Extension method

    NUIStyleClassPath for trend property

    Declaration

    Swift

    public var trendStyleClassPath: [FioriStyle] { get set }
  • trendImageStyleClassPath Extension method

    NUIStyleClassPath for trendImage property

    Declaration

    Swift

    public var trendImageStyleClassPath: [FioriStyle] { get set }
  • titleText Extension method

    Title text to display

    Declaration

    Swift

    public var titleText: FUIText { get }
  • titleAttributedText Extension method

    Developer formatted NSAttributedString to display as the title. Will override title value, and default styling.

    Declaration

    Swift

    public var titleAttributedText: NSAttributedString! { get set }
  • titleStyleClassPath Extension method

    NUIStyleClassPath for title property

    Declaration

    Swift

    public var titleStyleClassPath: [FioriStyle] { get set }
  • body Extension method

    body text to display

    Declaration

    Swift

    public var body: FUIText { get }
  • bodyAttributedText Extension method

    Developer formatted NSAttributedString to display as the body text. Will override body value, and default styling.

    Declaration

    Swift

    public var bodyAttributedText: NSAttributedString! { get set }
  • bodyDataDetectorTypes Extension method

    The UIDataDetectorTypes for the body text.

    Declaration

    Swift

    public var bodyDataDetectorTypes: UIDataDetectorTypes { get set }
  • bodyStyleClassPath Extension method

    NUIStyleClassPath for body property

    Declaration

    Swift

    public var bodyStyleClassPath: [FioriStyle] { get set }
  • actionTitle Extension method

    actionTitle text to display

    Declaration

    Swift

    public var actionTitle: FUIText { get }
  • actionTitleAttributedText Extension method

    Developer formatted NSAttributedString to display as the actionTitle text. Will override actionTitle value, and default styling.

    Declaration

    Swift

    public var actionTitleAttributedText: NSAttributedString! { get set }
  • actionTitleStyleClassPath Extension method

    NUIStyleClassPath for actionTitle property

    Declaration

    Swift

    public var actionTitleStyleClassPath: [FioriStyle] { get set }
  • actionHandler Extension method

    actionHandler

    Declaration

    Swift

    public var actionHandler: ((FUIUserConsentPageViewController) -> Void)? { get set }
  • values Extension method

    Text to display for the values

    Declaration

    Swift

    public var values: [String] { get set }
  • valuesAttributedText Extension method

    Developer formatted NSAttributedString to display for the values. Will override values values, and default styling.

    Declaration

    Swift

    public var valuesAttributedText: NSAttributedString! { get set }
  • valuesStyleClassPath Extension method

    NUIStyleClassPath for values property

    Declaration

    Swift

    public var valuesStyleClassPath: [FioriStyle] { get set }
  • eventView Extension method

    Event view for each calendar item

    Declaration

    Swift

    public var eventView: UIView { get }