• Register

how to check if variable is NSArray or NSMutableArray in Objective C

0 votes
Hi

    how to check if variable is NSArray or NSMutableArray
asked Jul 23, 2013 by BasicQuestion (1,345 points)

1 Answer

+1 vote

Hi basic

    Try this code [myUnknownArray isKindOfClass:[NSMutableArray class]];

answered Jul 23, 2013 by admin (6,065 points)
Thanks a lot.. Im new to objective c.. And i can find gud solutions for the basic level questions which helps objective C beginners...
...