Re: modalForWindow query
Re: modalForWindow query
- Subject: Re: modalForWindow query
- From: Robert Martin <email@hidden>
- Date: Wed, 25 Oct 2006 02:43:58 -0400
If you want a reference to the main window, check out the
documentation for NSApplication.
On Oct 25, 2006, at 12:36 AM, Nicholas Brawn wrote:
...
The warning I receive is: 'MyController' may not respond to '-window'
...
In Interface Builder I have an instance subclass of NSObject called
MyController with an NSButton and NSTextView on it. I'm guessing
that the
[self window] is looking for an NSWindow, but where should that be
defined?
_______________________________________________
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