CardLogoView
public class CardLogoView: UIView
The CardLogoView that shows a given card logo on a view
-
Set a type for the current CardLogoView
Declaration
Swift
public var type: CardLogoType = .Unknown -
Designated initializer for creating a logo connected to cards
Declaration
Swift
public required init(type: CardLogoType = .Unknown)Parameters
typeCardLogoType
Return Value
a CardLogoView object
-
Required initializer for creating a logo connected to cards
Declaration
Swift
public required init?(coder aDecoder: NSCoder)Parameters
aDecoderthe decoder
Return Value
a deserialized CardLogoView
-
Override function that draws the content of the CardLogoView
Declaration
Swift
public override func drawRect(rect: CGRect)Parameters
rectthe CGRect to draw in
CardLogoView Class Reference