Re: Method Sees Populated Array As Empty
Re: Method Sees Populated Array As Empty
- Subject: Re: Method Sees Populated Array As Empty
- From: Mark Wales <email@hidden>
- Date: Sun, 6 Jul 2008 12:26:26 +0100
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 (email@hidden)
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:
This email sent to email@hidden