Re: Method Sees Populated Array As Empty
Re: Method Sees Populated Array As Empty
- Subject: Re: Method Sees Populated Array As Empty
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sun, 6 Jul 2008 13:10:53 +0200
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).
Le 6 juil. 08 à 12:26, Mark Wales a écrit :
Do you actually have an accessor method for arrayOfReferences?
Yes, there is one. I didn't copy the full code in, but there is a
synthesised setter for arrayOfReferences. I tried doing it manually
too and added an NSLog in there. Again the array only came up as
empty when called from that one method. It's very strange indeed: it
is as if the array goes blank just for that method – but i don't
know what could cause that to happen – it's just a mutable array
that I'm adding objects too. I'm I missing something basic? I don't
see how it could work in every other method but not that one. I'm
flummoxed.
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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