• 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: == nil vs. isEqual:nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: == nil vs. isEqual:nil


  • Subject: Re: == nil vs. isEqual:nil
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 15 Aug 2001 23:22:12 +0200

Mike,

>>>>>> Mike Beam (MB) wrote at Wed, 15 Aug 2001 15:22:38 -0500:
MB> When I'm checking to see whether a suppposed object is nil, is it best to
MB> use
MB>
MB> anObject == nil

This one. You are not asking an existing object "Hey, you here, are you
nil?". You are, instead, checking whether a pointer (anObject) has some value
or not.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >== nil vs. isEqual:nil (From: Mike Beam <email@hidden>)

  • Prev by Date: Select All the rows of a column of browser
  • Next by Date: Re: how to control NSSound
  • Previous by thread: Re: == nil vs. isEqual:nil
  • Next by thread: Re: == nil vs. isEqual:nil
  • Index(es):
    • Date
    • Thread