I would have liked to see some reference to Objective C type variables in this regard. For example, I am having an array (NSArray *p) of NSXMLNode which I got from nodesForXPath of an html page. Now, I wanted to shift the array by one element i.e. typically in C we do (*p)++ as described in this tutorial, but this gives errors in Xcode and it fails to compile.
So, apart from using subarrayWithRange 1-[array count], is there a more efficient way to do this like in C style?
Thanks.
by Dharm — Jun 11
So, apart from using subarrayWithRange 1-[array count], is there a more efficient way to do this like in C style?
Thanks.