• Register

How to empty properly an NSMutableArray

0 votes
in my project i want to empty the NSMutableArray while press the refresh button...

please give some sample code for that?..
asked Jan 25, 2013 in Objective C by BasicQuestion (1,345 points)

1 Answer

0 votes

it's will solve your problem..


       [dataArray removeAllObjects];     


answered Jan 25, 2013 by anonymous