Re: NSMatrix Content Binding
Re: NSMatrix Content Binding
- Subject: Re: NSMatrix Content Binding
- From: Keary Suska <email@hidden>
- Date: Mon, 14 Apr 2008 09:10:03 -0600
- Thread-topic: NSMatrix Content Binding
on 4/13/08 8:57 PM, email@hidden purportedly said:
> I have a matrix of radio buttons that I'm trying to bind-ify. The two
> options in the matrix should shown with the titles:
>
> Mac OS Extended
> Mac OS Extended Journaled
>
> The *values* of these two items should be:
>
> HFS+
> Journaled HFS+
>
> Then what I'd like to do is bind the selectedValue of the matrix
> (which would be either "HFS+" or "Journaled HFS+") to a string
> property in my model.
BTW, as you saw but maybe didn't notice, the "contentValues" binding
indicates what the "titles" of the matrix will be. The "contentObjects"
binding would indicate what object is set on selection, and can correspond
to the "slectedObject" binding.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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