I want to see EXACTLY how it creates an array. How can I view the .m files that show how it\'s done?
If you're asking what's the purpose of +arrayWithArray (besides being an autorelease wrapper around -initWithArray), I'd say it's this: Use it when you want to create an autoreleased copy of an array. In other words, you could see it like this:
NSArray * original = /* ... */;
NSArray * newArray = [NSArray arrayWithArray:original];
Is equivalent to:
NSArray * original = /* ... */;
NSArray * newArray = [[original copy] autorelease];
I'd say it's there for convenience to use when it fits your style.