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