Original Post
I have a NSMutableArray of cards for a memory game clone, where you flip up matching cards to score points.
The card class just has a UIButton and unsigned int used to check for matching cards. I need to know what button is pressed when the user taps one so I know what cards to compare. I do not know how to retrieve this information, and I've not having much luck finding out.
The card class just has a UIButton and unsigned int used to check for matching cards. I need to know what button is pressed when the user taps one so I know what cards to compare. I do not know how to retrieve this information, and I've not having much luck finding out.