FUITagText
public class FUITagText : FUIText
FUIText displayed as a tag within FUIObjectHeaderView and FUIMapDetailTagObjectTableViewCell.
Available:
contentInsets: The contentInsets between the tag border and tag contentcornerRadius: The corner radius around the tagfillColor: UIColor inside the tagborderColor: UIColor around the perimeter of the tag
Initialization and Configuration
let tag = FUITagText("Tag")
tag.borderColor = borderColor
tag.fillColor = fillColor
tag.textColor = textColor
tag.font = font
-
ContentInsets between the tag border and tag content
Declaration
Swift
public var contentInsets: NSDirectionalEdgeInsets? -
Corner radius around the tag
Declaration
Swift
public var cornerRadius: CGFloat? -
UIColor inside the tag
Declaration
Swift
public var fillColor: UIColor? -
UIColor around the perimeter of the tag
Declaration
Swift
public var borderColor: UIColor? -
Attributes for the tagsAttributedText
Declaration
Swift
override public func attributes() -> [NSAttributedStringKey : Any] -
merge attributes from parent view’s default style
Declaration
Swift
public func mergeAttributes(with attr: [NSAttributedStringKey : Any]) -> [NSAttributedStringKey : Any]