• Register

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

0 like 0 dislike
61 views
Hi

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

1 Answer

1 like 0 dislike

Hi basic

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

answered Jul 23, 2013 by admin (6,175 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...
...