Binding a CoreData string value to an NSTextView
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