• 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
Re: modalForWindow query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >modalForWindow query (From: "Nicholas Brawn" <email@hidden>)

  • Prev by Date: Re: outlets to multiple views (NSView)
  • Next by Date: Re: Regarding iTunes 7 sidebar
  • Previous by thread: modalForWindow query
  • Next by thread: NSPanel shown as sheet comes up partially transparent
  • Index(es):
    • Date
    • Thread