Reputation: 81
i want show my NSMutableArray Count in a UILabel ,,,,,,,,,,
can any one help me
Upvotes: 0
Views: 118
Reputation: 47241
NSMutableArray * anArray = [[NSMutableArray alloc] init];
UILabel * aLabel = [[UILabel alloc] init];
aLabel.text = [NSString stringWithFormat:@"%d", [anArray count]];
Upvotes: 1