UIView
public extension UIView
-
Declaration
Swift
func roundCorners(corners: UIRectCorner, radius: CGFloat)
-
Declaration
Swift
func applyShadow(shadowRadius: CGFloat = 4)
-
Declaration
Swift
func applyShadow(opacity: Float, offsetX: CGFloat, offsetY: CGFloat, radius: CGFloat)
-
roundCornerWithShadow(cornerRadius:
shadowRadius: offsetX: offsetY: colour: opacity: borderColor: borderWidth: ) Declaration
Swift
func roundCornerWithShadow(cornerRadius: CGFloat, shadowRadius: CGFloat, offsetX: CGFloat, offsetY: CGFloat, colour: UIColor, opacity: Float, borderColor: UIColor, borderWidth: CGFloat)
-
Declaration
Swift
func maskByRoundingCorners(_ masks: UIRectCorner, withRadii radii: CGSize = CGSize(width: 10, height: 10))