FROM : mw
DATE : Mon Dec 30 23:35:24 2002
On 12/30/02 4:52 PM, "Michael Latta" <<email_removed>> 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Mon Dec 30 23:35:24 2002
On 12/30/02 4:52 PM, "Michael Latta" <<email_removed>> 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| mw | Dec 30, 22:26 | |
| Michael Latta | Dec 30, 22:52 | |
| mw | Dec 30, 23:35 | |
| mw | Dec 30, 23:44 | |
| Marcel Weiher | Dec 30, 23:51 | |
| Michael Latta | Dec 31, 00:02 | |
| Kevin Callahan | Dec 31, 00:12 | |
| Ryan Stevens | Dec 31, 03:29 | |
| mw | Dec 31, 21:46 |






Cocoa mail archive

