UIView
extension UIView
-
Embeds a subview.
Declaration
Swift
public func embed(subview: UIView)
Parameters
subview
The subview to embed.
-
Checks if the view is contained inside another view.
Declaration
Swift
public func isContainedWithin(_ other: UIView) -> Bool
Parameters
other
The other view to check if the view is contained within.
Return Value
A
Bool
value determining if the view is contained within the other view. -
Undocumented
Declaration
Swift
public var cornerRadius: CGFloat { get set }