Closed willysharp5 closed 6 years ago
https://github.com/intuit/CardParts#clickable-cards
Could you elaborate on how to use this. where do you add this new code for clickable for the various states
import Foundation import CardParts class CardPartTextViewCardController: CardPartsViewController { let cardPartTextView = CardPartTextView(type: .normal) override func viewDidLoad() { super.viewDidLoad() cardPartTextView.text = "This is a CardPartTextView" setupCardParts([cardPartTextView]) } }
Hi! Could you figure out how to do this? I am trying to get callback on clicks and not sure how to do it.
https://github.com/intuit/CardParts#clickable-cards
Could you elaborate on how to use this. where do you add this new code for clickable for the various states