• 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
Binding a CoreData string value to an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding a CoreData string value to an NSTextView


  • Subject: Binding a CoreData string value to an NSTextView
  • From: John Joyce <email@hidden>
  • Date: Tue, 18 Nov 2008 22:42:00 -0600

Has anyone had any success Binding a CoreData string value to an NSTextView?
Everything I try seems to be flumoxed by the NSAttributedString of the NSTextStorage backing store.
The lame thing is this: in code, it is easy to [aTextView setString: (NSString*)aString] or [aTextView string]
So what's a reliable way to do the same thing but use a coredata string attribute as the source and destination here?
Ideally with bindings to keep everything super clean.
If need be, I can of course build some intermediary object.
I'm not interested in attributes, but the intermediary idea may make this more practical anyway. Then the ivars of the intermediary could be bound to various attributes, if needed.
_______________________________________________


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: Binding a CoreData string value to an NSTextView
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: NSArrayController - Remove all objects?
  • Next by Date: Re: Question about interface builder
  • Previous by thread: Re: NSArrayController - Remove all objects?
  • Next by thread: Re: Binding a CoreData string value to an NSTextView
  • Index(es):
    • Date
    • Thread