• 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
Please help..... NIL Object problems...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please help..... NIL Object problems...


  • Subject: Please help..... NIL Object problems...
  • From: Graham Wihlidal <email@hidden>
  • Date: Wed, 1 Aug 2001 02:21:45 -0600

I have a class which handles all the operations of a particular window. I have a function which centers and displays a window which works fine (easy stuff)

If I have a button in an interface created with IB and target the window display function in this class, the button shows the window. I created an instance of this class to call its functions from a different class and this works fine, except..... If I try to call the window display function from another class, it treats the target window as nil. I added an NSLog to this function to make sure it fires and it does. What is going on? The window variable is declared inside the class with the display function, and all I do is try to call this function from another class which fires, but the window doesn't display.

Any ideas?

Thanks,

Graham


  • Prev by Date: custom window
  • Next by Date: Overriding [NSDocument saveDocumentTo]
  • Previous by thread: Re: custom window
  • Next by thread: Re: Please help..... NIL Object problems...
  • Index(es):
    • Date
    • Thread