• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: combining two entities to one binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: combining two entities to one binding
      • From: Koen van der Drift <email@hidden>
References: 
 >combining two entities to one binding (From: Koen van der Drift <email@hidden>)

  • Prev by Date: combining two entities to one binding
  • Next by Date: How to make Lion's autosaving work for my application?
  • Previous by thread: combining two entities to one binding
  • Next by thread: Re: combining two entities to one binding
  • Index(es):
    • Date
    • Thread