I have two arrays and I would like to append one to the end of the other. How can I go about doing this?
self.itemsCopy = [self.items mutableCopy];
Will copy the array, but I would like to append self.items.
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.
Assuming
itemsCopyis anNSMutableArraythat has already been created, you can do: