Simple Cocoa App question

jdog

Not a Moderator
Does anyone know where I can find any extremely simple program that will show me how to take input from a NSTextField and display it in a NSTextView? I know how to show an NSString in a NSTextView, but I cannot figure out everything that needs to be done to get the text in the NSTextView into an NSString variable.

Thanks
-jdog
 
:D HeHe, I figured it out. I was making things more difficult than they were.

-jdog
 
you must create an outlet to the nstextview....(using IB)

the write it:
[outlet_name insert:aString]
 
Yeah i always make it alot harder than it really is to. I forget alot that Cocoa "gives me alot for free."

-whitesaint
 
Back
Top