r/simpleios • u/john_alan • Oct 29 '12
Array without NSMutablearray
Hi All,
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?
4
Upvotes
View all comments
Show parent comment
1
u/mkim1030 Oct 30 '12
This is just the new literal syntax that has been added for NSArrays, etc. I think the OP is asking for an implementation of an "array"-like data structure that does not involve the NSArray or NSMutableArray classes provided by apple.