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

    type

    CardLogoType

    Return Value

    a CardLogoView object

  • Required initializer for creating a logo connected to cards

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)

    Parameters

    aDecoder

    the decoder

    Return Value

    a deserialized CardLogoView

  • Override function that draws the content of the CardLogoView

    Declaration

    Swift

    public override func drawRect(rect: CGRect)

    Parameters

    rect

    the CGRect to draw in