• 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: Attack of the Nils!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attack of the Nils!


  • Subject: Re: Attack of the Nils!
  • From: mw <email@hidden>
  • Date: Mon, 30 Dec 2002 17:35:24 -0500

On 12/30/02 4:52 PM, "Michael Latta" <email@hidden> wrote:

> It really sounds like the variable being referenced in the second
> method is not the same as the one in the first method. As an exercise
> rename the variable you think is being referenced by the second method,
> and verify you get the expected compile errors. If in fact they are
> the same variable, look for any other assignments to that variable.
>
> Remember a released object does not set references to nil, they just
> point into garbage.
>
> Michael

But this would be impossible because both of the methods are members of the
same class, and neither method has any private variables that have the name
'controller'. However, I did test your theory, and the pointer was still
<nil> when it got to -mouseExit. Any other ideas?

mw
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Attack of the Nils!
      • From: Marcel Weiher <email@hidden>
References: 
 >Re: Attack of the Nils! (From: Michael Latta <email@hidden>)

  • Prev by Date: Re: Attack of the Nils!
  • Next by Date: Re: Attack of the Nils!
  • Previous by thread: Re: Attack of the Nils!
  • Next by thread: Re: Attack of the Nils!
  • Index(es):
    • Date
    • Thread