NSTextView and NSWindowController
NSTextView and NSWindowController
- Subject: NSTextView and NSWindowController
- From: "D.K. Johnston" <email@hidden>
- Date: Sat, 24 Jun 2006 06:57:30 -0700
I made a window in IB containing NSTextField and NSTextView objects.
I subclassed NSWindowController and connected it to these objects
with IB outlets. Subsequently, I was able to write in the NSTextField
objects with the setStringValue: method, but couldn't get anything to
appear in the NSTextView object using setString:.
I got everything to work using bindings and NSAttributedString
instead, and I'm quite content with it. But I'm still curious about
why my first attempt failed.
dkj
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden