Re: Bindings
Re: Bindings
- Subject: Re: Bindings
- From: Sandro Noel <email@hidden>
- Date: Sat, 26 May 2007 22:39:00 -0400
_bServices is a NSMutableArray Object.
i'm adding the NSNet Services to it.
Sandro Noel
email@hidden
On 26-May-07, at 10:36 PM, I. Savant wrote:
Sandro:
[_bServices addObject:aNetService];
What is _bServices? If it's anything but your controller, you're
"changing the array behind the controller's back". You must either:
a) Call -willChangeValueForKey: and -didChangeValueForKey: before/
after changing the array, or,
b) Call -addObject: against your array controller.
--
I.S.
_______________________________________________
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
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden