Possible Duplicate:
Creating Linked Lists in Objective C
I am trying to understand what a linked list is. Is there anyway of implementing it in Objective-C or some sample code?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Linked list are useful in C to handle dynamic-length lists. This is not an issue in objective-C as you have
NSMutableArray.So the equivalent of:
Would be:
Of course, you can use classic linked-list in an objective-c application.