Re: Initial value of on/off buttons
Re: Initial value of on/off buttons
- Subject: Re: Initial value of on/off buttons
- From: "Hamish Allan" <email@hidden>
- Date: Mon, 28 Apr 2008 11:59:30 +0100
On Fri, Apr 25, 2008 at 5:13 PM, Yann Disser <email@hidden> wrote:
> I realize that my buttons are generally not affected by the changes I make
> to the bool-values. Only the other way around.
On Sun, Apr 27, 2008 at 10:59 AM, Yann Disser <email@hidden> wrote:
> The problem was, that I was binding the value of my buttons to bools that
> did not directly belong to my controller class but to an attribute of my
> controller class: "attribute.bool" was my model key path.
FWIW, that wasn't strictly your problem. Even if the bools had
belonged directly to your controller class, you'd still have had to
change them using KV[OC]-compliant methods for your buttons to have
registered the change.
Glad you've solved your problem, though.
Hamish
_______________________________________________
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