Monday, 26 August 2013

iOS struct with NSArrays

iOS struct with NSArrays

I have four pieces of data I always want to keep together: 2 NSArrays and
2 ints. I thought a struct might be a good idea, but I get the "ARC does
not allow objects in structs" error. What would be the best way to
encapsulate the data? Using an NSDictionary?

No comments:

Post a Comment