NSIndexPath *index_path;
NSUInteger u_array[] = {0, 0, 0};
index_path = [NSIndexPath indexPathWithIndexes : u_array length : 3];
The above creates a NSIndexPath with length == 3. Is there any way to do the same with fewer statements ?
This is probably the best you can do: