forum

Home / DeveloperSection / Forums / Creating index for NSIndexPath class method indexPathWithIndexes:length:

Creating index for NSIndexPath class method indexPathWithIndexes:length:

zack mathews 2124 05-Nov-2015
The method of NSIndexPath class is:
+(id)indexPathWithIndexes:(NSUInteger *)indexes length:(NSUInteger)length
My problem is with indexes, I am unable to create indexes for the first parameter?
In the documentation I was read it is as Array of indexes to make up the index path, but expecting a (NSUinteger*), to create index path of 1.2.3.4 , is it simply an array of[ 1, 2, 3, 4 ] ?

Updated on 05-Nov-2015

Can you answer this question?


Answer

1 Answers

Liked By