I am a bit confused in the following two ways of initialisations.....
Way 1:
- (void) myMethod{ NSArray *myArray = [[NSArray alloc] initWithObje
as i know,
[NSArray arrayWithObjects:obj1,obj2,nil];
returns an autoreleased object, smth like
[[[NSArray alloc] initWithObjects:obj1,obj1,nil] autorelease];
and I prefer not to manage memory with autorelease pool. maybe it's just a prejudice))