• 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
window controller's [self window] not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

window controller's [self window] not working


  • Subject: window controller's [self window] not working
  • From: Daniel Child <email@hidden>
  • Date: Thu, 15 May 2008 00:23:01 -0400

I have a window controller that I initialize using initWithWindowNibName.

To improve readability later in the code, I try to cache the window outlet to another variable. [self window] returns no value, however.

This exact same code used to work in previous incarnations of the program, and it seems that it simply "broke" when I opened the nib in IB3 and added a text field. (It was originally created in IB2 and worked fine in Leopard and XCode 3 until I modified it.)

I am just getting used to IB3 but don't see what or how I could have broken the connection. Are there any obvious culprits?

Thanks.
_______________________________________________

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


  • Follow-Ups:
    • Re: window controller's [self window] not working
      • From: Ken Thomases <email@hidden>
    • Re: window controller's [self window] not working
      • From: j o a r <email@hidden>
  • Prev by Date: Re: NSRange
  • Next by Date: Re: Assertion failure in -[NSNextStepFrame lockFocus]
  • Previous by thread: Re: Guidance for Cocoa's steep learning curve
  • Next by thread: Re: window controller's [self window] not working
  • Index(es):
    • Date
    • Thread