nikey
nikey

Reputation: 81

Array count Should be Show in table view

i want show my NSMutableArray Count in a UILabel ,,,,,,,,,,

can any one help me

Upvotes: 0

Views: 118

Answers (1)

Nick Weaver
Nick Weaver

Reputation: 47241

NSMutableArray * anArray = [[NSMutableArray alloc] init];

UILabel * aLabel = [[UILabel alloc] init];
aLabel.text = [NSString stringWithFormat:@"%d", [anArray count]];

Upvotes: 1

Related Questions