• 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: Jeff Galyan <email@hidden>
  • Date: Tue, 22 Jan 2002 13:59:16 -0700

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

I checked for all of these conditions over a week ago, in hopes that maybe I
was just doing something that was obviously wrong.

1.) string passed in is valid, can be sent to NSLog() or printed to debugger
console

2.) the receiver class never sets the ivar to nil

3.) if that's the case, then something's seriously wrong with the debugger


--Jeff


  • Follow-Ups:
    • Re: Initializing an Array
      • From: Marcel Weiher <email@hidden>
References: 
 >Re: Initializing an Array (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Re: Initializing an Array
  • 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