• 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 and NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTextView and NSWindowController
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: File's Owner in IB
  • Next by Date: putting a text at bottom of a view
  • Previous by thread: Re: Implementing Undo for a Cut operation, against an NSManagedObject
  • Next by thread: Re: NSTextView and NSWindowController
  • Index(es):
    • Date
    • Thread