CardList
protocol CardList : NSObjectProtocolUndocumented
- 
                  
                  The list of cards currently added to the card system, in the order they can be displayed to the user. DeclarationSwift func cards() -> [BTNCard]Return ValueAn array of cards currently added to the card list. 
- 
                  
                  Sets the cards to be maintained by the card list. DeclarationSwift func setCards(_ cards: [BTNCard])ParameterscardsThe array of cards. 
- 
                  
                  Appends a card to the end of the current list of cards in the card system. DeclarationSwift func add(_ card: BTNCard)ParameterscardThe card to be added. 
- 
                  
                  Inserts a card into the current list of cards in the card system at a specific index. DeclarationSwift func insert(_ card: BTNCard, at index: UInt)ParameterscardThe card to be added. indexThe location in the current list of cards to insert the card. 
- 
                  
                  Returns the card in the current card system that matches the given key. @discussion Keys are meant to be unique. If multiple cards match the given key, the first in the list that matches will be returned. DeclarationSwift func card(forKey key: any NSObjectProtocol) -> BTNCard?ParameterskeyThe key of the card to be returned. Return ValueThe card in the current card system that matches the given key. 
- 
                  
                  Replaces the card in the current card system that matches the given key with a new card. @discussion Keys are meant to be unique. If multiple cards match the given key, the first in the list that matches will be replaced. If no cards match, no replacement will occur. DeclarationSwift func replaceCard(forKey key: any NSObjectProtocol, with card: BTNCard?)ParameterskeyThe key of the card to be replaced. 
- 
                  
                  Removes the card in the current card system that matches the given key. @discussion Keys are meant to be unique. If multiple cards match the given key, the first in the list that matches will be removed. DeclarationSwift func removeCard(forKey key: any NSObjectProtocol)ParameterskeyThe key of the card to be removed. 
- 
                  
                  Removes all cards in the current card system. DeclarationSwift func removeAllCards()
 CardList Protocol Reference
      CardList Protocol Reference