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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c++ - CryptStringToBinary API behavior -