Try NSLog(@"%@", self) and make sure your are working with the same document instance and not with two distincs documents objects (one with a full array and one with an empty array).

Ok, that seems to have done something. When I use the NSLog(@"%@", self) in all the other methods I get:

<MyDocument: 0x17f620>

When I try it in the dataOfType method I get:

<MyDocument: 0x1559d0>

So the document instance changes I guess. Why would that happen and how can I stop it?
Thanks,

Mark
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to