Real simple newbie question(s)
Real simple newbie question(s)
- Subject: Real simple newbie question(s)
- From: Chris Griffin <email@hidden>
- Date: Fri, 23 Jul 2004 16:40:22 -0700
I have written a very simple cocoa app. I started with the basic Cocoa
app from XCode. I added a Controller.m file. In that I add a menu and
menu item. That all works fine. The menu item calls a plugin. This is a
plugin that I have written and the Cocoa app is for testing and showing
how to call the plugin. The last thing that I want to do is display
some text in the window that comes up by default. I have added an
NSTextView to the window. My first question is how do I get to that
object to set the text? The text is not editable and so doesn't need to
be saved. I just want to display some text after my plugin is executed.
I'm guessing that if I can get the NSTextView object from the window I
can figure out how to set the text from the NSTextView docs. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.