Hi
what is maximum size of data that can a object hold ?
thanx
Hi
what is maximum size of data that can a object hold ?
thanx
There's no size limit.
(Except limited by the RAM and pointer bit-size.)
The amount of memory the iPhone currently can allocate to an object is the amount of memory currently available.
Conceptually, there is no limit. The iPhone itself does have physical limits, though.
You must test your apps on the iPhone heavily before releasing an app that will get arbitrary length data.
You should make sure that the data length is within reasonable bounds.
The last thing you want is -didReceiveMemoryWarning
being called and your app exiting.