AvatarView
@IBDesignable
public class AvatarView : UIView
Undocumented
-
A corner radius.
Declaration
Swift
@IBInspectable public var cornerRadius: CGFloat { get set } -
A shadow radius.
Declaration
Swift
@IBInspectable public var shadowRadius: CGFloat { get set } -
An avatar image placeholder.
Declaration
Swift
@IBInspectable public var placeholder: UIImage? { get set } -
A default image background color.
Declaration
Swift
@IBInspectable public var defaultColor: UIColor? -
An image.
Declaration
Swift
public var image: UIImage? { get set } -
Check if the image of the avatar is the placeholder image.
Declaration
Swift
public var isPlaceholder: Bool { get } -
Undocumented
Declaration
Swift
public override func layoutSubviews()
View on GitHub
AvatarView Class Reference