UIView
public extension UIView
The UIView extension
-
Top Anchor
Declaration
Swift
@MainActor var safeAreaTopAnchor: NSLayoutYAxisAnchor { get } -
CenterY Anchor
Declaration
Swift
@MainActor var safeAreaCenterYAnchor: NSLayoutYAxisAnchor { get } -
CenterX Anchor
Declaration
Swift
@MainActor var safeAreaCenterXAnchor: NSLayoutXAxisAnchor { get } -
Bottom Anchor
Declaration
Swift
@MainActor var safeAreaBottomAnchor: NSLayoutYAxisAnchor { get } -
Leading Anchor
Declaration
Swift
@MainActor var safeAreaLeadingAnchor: NSLayoutXAxisAnchor { get } -
Trailing Anchor
Declaration
Swift
@MainActor var safeAreaTrailingAnchor: NSLayoutXAxisAnchor { get } -
Setups the empty list with message
Declaration
Swift
@MainActor func setUpEmptyListLabel(text: String) -> UILabelParameters
textthe string description
Return Value
the UILabel instance
-
Check if current view is
UITableViewCellSeparatorViewDeclaration
Swift
@MainActor func isSeparatorView() -> Bool -
Adjust segment titles width
Declaration
Swift
@MainActor class func adjustWidthOfSegmentTitles(view: UIView)Parameters
viewSegmented Controller
View on GitHub