• 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: Initializing an Array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Initializing an Array (From: Jeff Galyan <email@hidden>)

  • Prev by Date: Re: Question about movePath
  • Next by Date: Re: Initializing an Array
  • Previous by thread: Re: Initializing an Array
  • Next by thread: Re: Initializing an Array
  • Index(es):
    • Date
    • Thread