• 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: makeKeyAndOrderFront not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makeKeyAndOrderFront not working


  • Subject: Re: makeKeyAndOrderFront not working
  • From: Daniel Child <email@hidden>
  • Date: Thu, 08 Dec 2005 23:42:55 -1000


On Thursday, December 8, 2005, at 07:41 PM, Daniel Jalkut wrote:

Hi Daniel,

Hi Daniel. You can narrow your question down quite a bit. You'veĀ  implicitly asked several questions - some of which you can easily answer yourself.

1. Does awakeFromNib get called? Answer by adding an NSLog statement or set a breakpoint.
Yes. printf confirms that.

2. Is centerWindow connected correctly? Answer by examining the variable after breaking in awakeFromNib.
Well, centerWindow shows up in the variable summary. Unfortunately, I'm not sure what to make of all the hex values for the various fields. However, an NSLog of the centerWindow variable indicates information about the proper window title. How else would it know that if not properly connected

\3. Does the nib that contains your controller even get instantiated at runtime? One easy way to answer this is to add a window that has "visible at launch time" set.
That much was already working. It is simply not coming to the front of other apps.

The answer to all three questions seems to be yes. Thanks for setting me to ask good questions, though. I will think more on it in the morning. _______________________________________________
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: 
 >Re: makeKeyAndOrderFront not working (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: How To: NSAttributedString in a NSTableView, catch clicks on a link
  • Next by Date: @class
  • Previous by thread: Re: makeKeyAndOrderFront not working
  • Next by thread: Re: makeKeyAndOrderFront not working
  • Index(es):
    • Date
    • Thread