• 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: figuring out the length of a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: figuring out the length of a string


  • Subject: Re: figuring out the length of a string
  • From: Andreas Mayer <email@hidden>
  • Date: Fri, 25 Jun 2004 15:37:46 +0200

Am 25.06.2004 um 11:21 schrieb Louis C. Sacha:

There is a single unique instance of CFNull,

... which is identical to [NSNull null] fortunately, ...

so you can use pointer equality...

if (someString == kCFNull) {return @"";}

or

if (someString == [NSNull null])


Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >figuring out the length of a string (From: John Spicer <email@hidden>)
 >Re: figuring out the length of a string (From: "Mark A. Stratman" <email@hidden>)
 >Re: figuring out the length of a string (From: "Louis C. Sacha" <email@hidden>)

  • Prev by Date: Re: multiple windowcontrollers
  • Next by Date: Web Kit
  • Previous by thread: Re: figuring out the length of a string
  • Next by thread: NSURLConnection threads creation
  • Index(es):
    • Date
    • Thread