As far as the NSLog statement is concerned, I wasn't having a problem
with that. I was under the impression that sending an object
(myArray) into a string like that was synonymous with calling
description on it as in [myArray description]
Is there a reason simply sending the object is a bad idea?
Andrew
On Mar 30, 2007, at 6:59 PM, Murat Konar wrote:
The last argument in your call to [NSArray arrayWithObjects:]
should be nil.
_murat
On Mar 30, 2007, at 3:51 PM, Andrew R. Kinnie wrote:
Sure, here is the code from the init method in myDocument:
I previously didn't retain the created array, and added it because
I guessed that was a problem. However, adding it appears to have
had no effect at all.
On Mar 30, 2007, at 7:04 PM, Murat Konar wrote:
Also, your call
NSLog(@"myArray is %@", myArray);
should be
NSLog(@"myArray is %@", [myArray description]);
_murat
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com