当我运行以下代码时,调试器将所有标签的值记录为零。有谁知道为什么?
int placeHolderRandom = arc4random() % 13;
self.cardOne.tag = 5;
placeHolderRandom = arc4random() % 13;
self.cardTwo.tag = placeHolderRandom;
placeHolderRandom = arc4random() % 13;
self.cardThree.tag = placeHolderRandom;
placeHolderRandom = arc4random() % 13;
self.cardFour.tag = placeHolderRandom;
NSLog(@"%d , %d , %d , %d" , self.cardOne.tag , self.cardTwo.tag , self.cardThree.tag , self.cardFour.tag);
任何帮助将不胜感激。