• 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: NSSpeechSynthesizer and empty strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSpeechSynthesizer and empty strings


  • Subject: Re: NSSpeechSynthesizer and empty strings
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 26 Jun 2008 18:32:00 -0600


On Jun 26, 2008, at 6:16 PM, William Squires wrote:

Actually, "if ([myString length] == 0)" is probably better, but just IMHO... :)


No; don't ever do that. It is possible for an NSString to have zero length but not be empty. See <http://www.cocoabuilder.com/archive/message/cocoa/2004/7/5/111029 > for details.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSSpeechSynthesizer and empty strings
      • From: Jim Correia <email@hidden>
    • Re: NSSpeechSynthesizer and empty strings
      • From: "Michael Ash" <email@hidden>
    • Re: NSSpeechSynthesizer and empty strings
      • From: James Walker <email@hidden>
    • Re: NSSpeechSynthesizer and empty strings
      • From: "I. Savant" <email@hidden>
    • Re: NSSpeechSynthesizer and empty strings
      • From: Omar Qazi <email@hidden>
References: 
 >NSSpeechSynthesizer and empty strings (From: "David Brennan" <email@hidden>)
 >Re: NSSpeechSynthesizer and empty strings (From: "I. Savant" <email@hidden>)
 >Re: NSSpeechSynthesizer and empty strings (From: William Squires <email@hidden>)

  • Prev by Date: Re: NSArchiver question?
  • Next by Date: Re: NSSpeechSynthesizer and empty strings
  • Previous by thread: Re: NSSpeechSynthesizer and empty strings
  • Next by thread: Re: NSSpeechSynthesizer and empty strings
  • Index(es):
    • Date
    • Thread