BaseConfig
public struct BaseConfig
Configuration class for config Cards
-
init(barColor:
dueText: cardTextColor: cardTitle: cnpj: paid: isDue: fromEmail: addedByUser: amount: date: text: imageUrl: featured: featuredColor: type: ) Set data to be used when building Cards
Declaration
Swift
public init(barColor: UIColor, dueText: String, cardTextColor: UIColor, cardTitle: String? = nil, cnpj: String, paid: Bool, isDue: Bool, fromEmail: Bool, addedByUser: Bool, amount: Double, date: String, text: String, imageUrl: String? = nil, featured: Bool = false, featuredColor: UIColor? = nil, type: IPBaseCardType = .standard(imageUrl: ""))