Problem binding NSTextView's attributedString
Problem binding NSTextView's attributedString
- Subject: Problem binding NSTextView's attributedString
- From: "Pete Callaway" <email@hidden>
- Date: Wed, 30 Jul 2008 21:36:32 +0100
Hi,
This is probably a simple question, but I'm having a spot of bother
with a bound NSTextView.
In IB I've set the text view's attributedString to be bound to the
file's owner with a model key path of
"document.selectedPage.stringContent". This is fine but when my
document's selectedPage property changes, the NSTextView doesn't
update to show the stringContent of the new selectedPage.
I've checked changes to selectedPage can be observed OK so I'm not
sure what I'm missing from the equation. Any tips?
Cheers,
Pete
_______________________________________________
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