Functions
The following functions are available globally.
-
Draw an unknown card logo
Declaration
Swift
public func drawCardUnknown()
-
draw a MasterCard card logo
Declaration
Swift
public func drawCardMasterCard()
-
draw a Maestro card logo
Declaration
Swift
public func drawCardMaestro()
-
draw an AMEX card logo
Declaration
Swift
public func drawCardAmex()
-
draw a CVC card logo
Declaration
Swift
public func drawCardCVC()
-
draw a CID card logo
Declaration
Swift
public func drawCardCID()
-
draw a Visa card logo
Declaration
Swift
public func drawCardVisa()
-
A method that checks if the device it is currently running on is jailbroken or not
Declaration
Swift
public func isCurrentDeviceJailbroken() -> Bool
Return Value
true if device is jailbroken
-
Equals function for two Card.Configuration objects
Declaration
Swift
public func ==(x: Card.Configuration, y: Card.Configuration) -> Bool
Parameters
x
left hand side Card.Configuration
y
right hand side Card.Configuration
Return Value
boolean indicating whether the two objects are equal
-
Lower function for two Card.Configuration objects
Declaration
Swift
public func <(x: Card.Configuration, y: Card.Configuration) -> Bool
Parameters
x
left hand side Card.Configuration
y
right hand side Card.Configuration
Return Value
boolean indicating whether the lhs objects cardLength is lower than the right hand sides cardLength
-
Lower or equal function for two Card.Configuration objects
Declaration
Swift
public func <=(x: Card.Configuration, y: Card.Configuration) -> Bool
Parameters
x
left hand side Card.Configuration
y
right hand side Card.Configuration
Return Value
boolean indicating whether the lhs objects cardLength is lower than or equals the right hand sides cardLength
-
Greater function for two Card.Configuration objects
Declaration
Swift
public func >(x: Card.Configuration, y: Card.Configuration) -> Bool
Parameters
x
left hand side Card.Configuration
y
right hand side Card.Configuration
Return Value
boolean indicating whether the lhs objects cardLength is greater than the right hand sides cardLength
-
Greater or equal function for two Card.Configuration objects
Declaration
Swift
public func >=(x: Card.Configuration, y: Card.Configuration) -> Bool
Parameters
x
left hand side Card.Configuration
y
right hand side Card.Configuration
Return Value
boolean indicating whether the lhs objects cardLength is greater than or equals the right hand sides cardLength