Possible Duplicate:
What is the maximum length of an NSString object?
I’m trying to decide on a good way to store my tile data on the parse database. What I need is to store 24×24 values, not sure how long those values will be, but let’s say I need to store 24×24 bytes (giving me 256 possibilities for each tile). I was thinking of storing them in a big string, is that possible? is there a limit on how big a string should be? or is there a better way to do this in objective c?
Thanks for any advice.
Re: string length, I don’t think there’s a hard limit on the length of a string. But in terms of storing this type of data, how about a multi-dimensional array? Here’s a discussion on the topic.
How to declare a two dimensional array of string type in Objective-C?