Re: Bindings
- Subject: Re: Bindings
- From: "I. Savant" <email@hidden>
- Date: Sat, 26 May 2007 22:36:58 -0400
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=TelkkRGi8x6I4LhefUQh4Xql7PkYV1jKtBFOSCT3VOtrTA7tqf326puD7JSBB8hD9m8A4IQ8DCffz1xeynjFZk4MvX6pl7tRUQ89Tjou7wWHcUg4QXgDmSk7Nme0EA8Li4ixMOTqqwBx9/TFtT6v23kZ/KUddhka8MM9P5fyHPQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=hF1azp3EyDIxDRYXnxcSCeHy7kYvGYj7HLDnh/ssAx8g848pY3+T2qM5wSDmIivUAMeRa8XjfFiWSPEdpin+0EbFPw2VutkE2YrHMAsgpTpHyZITu/66sfRccPi2VNJ2MRaXWU0lzXIpvd+0p8CGsbK7Tw15tFq8LKIgHZz9XSA=
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.