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 11:26:27 +0100
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