• 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
nib not loading properly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nib not loading properly


  • Subject: nib not loading properly
  • From: Daniel Child <email@hidden>
  • Date: Tue, 18 Sep 2007 14:11:58 -0400

Hi All,

I have a nib that consists of a basic window with a couple of text fields. For some reason, neither of the text fields becomes active (blinking cursor). I tried changing setting initialFirstResponder for the window to one of the text fields, and also set nextKeyView for each of them. No use.

NSLogs confirm that I have entered and left awakeFromNib. If I try to trace the execution, I am able to step through until the thread is NSApplicationMain (following loading of the nib). Switching active windows, the nib is there, but it does not seem accessible and I cannot type text.

The debug window at this point has some cryptic thing like a memory address and a string of numbers that make no sense to me. There are no variables to evaluate.

Does anyone have a clue what might be causing this? Again, must be some basic newbie error, but I've set up plenty of similar interfaces and have never encountered this. (Usually, the first textField is automatically activated.) Thanks for looking.

Daniel


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Recovering a list of selectors to which an object can respond
  • Next by Date: Re: Recovering a list of selectors to which an object can respond
  • Previous by thread: Re: Recovering a list of selectors to which an object can respond
  • Next by thread: AutosaveName
  • Index(es):
    • Date
    • Thread