I am using an NSMutableArray to hold some objects, and I need to access the element at i and the element at i+1 in the same line. Also, is there any way to access the NSMutableArray‘s length?
I am using an NSMutableArray to hold some objects, and I need to access
Share
Try this:
As for your second question, yes, use the selector
count. I think you need to spend some time with theNSMutableArraydocumentation.