UIView
extension UIView
-
Embeds a subview.
Declaration
Swift
public func embed(subview: UIView)Parameters
subviewThe subview to embed.
-
Checks if the view is contained inside another view.
Declaration
Swift
public func isContainedWithin(_ other: UIView) -> BoolParameters
otherThe other view to check if the view is contained within.
Return Value
A
Boolvalue determining if the view is contained within the other view. -
Undocumented
Declaration
Swift
public var cornerRadius: CGFloat { get set }
View on GitHub
UIView Extension Reference