ios - acess element of NSArray with its index -


is possible access elements of nsarray based on index , use them comparison/operations?

just arrayname[ith element] in c/c++

yes , can access elements of nsarray based on index .

nsarray *a=@[@"s1",@"s2",@"s3"]; nslog(@"%@",a[1]); 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -