Re: Initializing an Array
Re: Initializing an Array
- Subject: Re: Initializing an Array
- From: Marcel Weiher <email@hidden>
- Date: Tue, 22 Jan 2002 22:35:45 +0100
On Tuesday, January 22, 2002, at 09:59 , Jeff Galyan wrote:
On 1/22/02 1:42 PM, "Marcel Weiher" <email@hidden> wrote:
On Tuesday, January 22, 2002, at 08:47 , Jeff Galyan wrote:
Ways you might have gotten a nil-pointer:
1.) you passed nil in
2.) you reset the instance var to nil in the meantime
3.) the object that had its inst-var set is not the same one that
you're examining
3.) if that's the case, then something's seriously wrong with the
debugger
Actually not. In another message, you said that:
The real app code calls [[super alloc] init]
which is wrong and would result in a different object getting
allocated. Depending on how the real code looks, you probably don't
have the object that you think you have.
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.