Re: combining two entities to one binding
Re: combining two entities to one binding
- Subject: Re: combining two entities to one binding
- From: Keary Suska <email@hidden>
- Date: Sat, 01 Oct 2011 13:09:05 -0600
On Oct 1, 2011, at 11:54 AM, Koen van der Drift wrote:
> In my core data model, I have several string properties that I would like to bind to one NSTextView. So, I would like the text view to show both the name and description entities as if they were one string.
>
> Is there a way to do this, in IB I can only bind one at the time (I think).
Not specifically for NSTextView. Text fields have the "value with pattern" bindings, but no such luck for text views. In such cases I generally have a "dynamic" property of a model object that consists of a pseudo-getter and +keyPathsForValuesAffectingKey.
HTH,
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