NSTextView in NSCollectionView doesn't draw
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