Just wondering the best way to create a manual array, without using NSMutalbleArray, I have being researching best possible solutions but without an elegant answer, what do you think, in Objective C what’s the best way to create an NSMutableArray style object from scratch?
with a FIFO queue as the final solution, even a basic array structure would be a great hint! thanks,
John
Just wondering the best way to create a manual array, without using NSMutalbleArray, I
Share
Categories on NSMutableArray is the easiest way IMO. I have a category for stacks (LIFO) and queues (FIFO)
Header
Implementation
To Make and use a queue: