• 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
Problem binding NSTextView's attributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem binding NSTextView's attributedString
      • From: Negm-Awad Amin <email@hidden>
  • Prev by Date: Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
  • Next by Date: Re: How would you tell WebKit to keep all JavaScript popup windows on top/in front?
  • Previous by thread: Advice on printing multiple images
  • Next by thread: Re: Problem binding NSTextView's attributedString
  • Index(es):
    • Date
    • Thread