How AutoReleasePool working in iphone? And when will be the objects released?
Thanks alex. Can you explain with example? If i am using initWithString for NSString,Where it will release the memory?At the end of the method?
vinay
2010-07-01 11:14:14
initWithString is not autorealesed - you should release it by yourself...
Michael Kessler
2010-07-01 12:00:50
@vinay: You should probably read Apple's Memory Management Guide as this will answer many of your questions: http://developer.apple.com/iphone/library/documentation/cocoa/conceptual/memorymgmt/memorymgmt.html
Alex Reynolds
2010-07-01 12:11:40