• 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
NSTextView in NSCollectionView doesn't draw
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView in NSCollectionView doesn't draw


  • Subject: NSTextView in NSCollectionView doesn't draw
  • From: Rainer Standke <email@hidden>
  • Date: Tue, 10 Aug 2010 16:02:25 -0700

Hello,

In a core data document based app I have a NSTextView inside an NSCollectionView. The text view's value is bound to a core data attribute. When a document is opened the text does not draw in the text view. When the user clicks the view it will draw the text correctly.

The text always draws correctly in a NSTextField - unless that text field is included in a NSScrollView, then the text doesn't draw.

This seems to hint at the scroll view being part of the problem. I tried the fix (probably for a different problem, though) described here:

http://www.mail-archive.com/email@hidden/msg54451.html

Unfortunately not a solution for my problem. I tried to force drawing of the text view, but when it draws, it draws the blank view, no text. It seems that the binding message flow doesn't work right. I tried sending will/didChangeValue messages to the represented object (i.e. a core data managed object), to no avail.

Any insight would be greatly appreciated,

Rainer_______________________________________________

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

  • Prev by Date: Re: CGImage to NSImage, or PDFPage?
  • Next by Date: Looking for a FTP framework
  • Previous by thread: Re: CGImage to NSImage, or PDFPage?
  • Next by thread: Looking for a FTP framework
  • Index(es):
    • Date
    • Thread