I would like to store multiple values for a label and I have some 10 labels.
So is it possible to have a NSArray of NSArray objects?
Can I do something like this:
[[NSArray alloc] initWithObjects: NSArray1, NSArray2, nil];
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.
Yes. An NSArray can hold any object subclassed from NSObject. NSArray is subclassed from NSObject. Therefore, an NSArray can hold an NSArray.