NSMutableArray alloc init vs NSMutableArray array?

The first remains in memory until you release it, the second lasts until the end of the run loop iteration.

Here in NSMutableArray array you don't have to release array it will be released automatically. & if you will write NSMutableArray alloc init you will have torelease array so NSMutableArray array will be equivalent to NSArray alloc init autorelease.

I edit this , ImageList = NSMutableArray alloc init; as ImageList = NSMutableArray alloc init autorelese ; but it didn't work. What should be the error – susitha 10 hours ago which xcode & ios version you are using? – aakil ladhani 10 hours ago Xcode 4.1 and ios 4.3 – susitha 9 hours ago.

NSMutableArray no need to release memory and NSMutableArray alloc init you must be release it.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions