• 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: speechSynthesizer willSpeakWord trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: speechSynthesizer willSpeakWord trouble


  • Subject: Re: speechSynthesizer willSpeakWord trouble
  • From: Paul Bruneau <email@hidden>
  • Date: Fri, 6 Jul 2007 18:44:03 -0400

On Jul 6, 2007, at 6:33 PM, Andy Lee wrote:

On Jul 6, 2007, at 6:22 PM, Paul Bruneau wrote:
The range is coming through OK, but no matter what I have tried, the substring I am trying to get above) always comes out (null). I have tried just putting myString (without the substring part) into the log, but it is also (null).

Look at what your own log message is telling you: myString is nil. This means that sending it a substring message will also return nil. So you need to figure out why that variable doesn't have the value you think it does.

Yes, thank you for the reply. I'm sorry if I wasn't clearer, that is indeed the problem. I tried to state that I knew that myString was coming in nil.


But it is a delegate method that is called by and has parameters that are set by Cocoa (to my understanding), so I am at a dead end to determine why cocoa isn't giving me the string that it seems like it should be providing.
_______________________________________________


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


References: 
 >Re: Cocoa and dead-code stripping (From: Scott Ribe <email@hidden>)
 >Re: Cocoa and dead-code stripping (From: Alastair Houghton <email@hidden>)
 >speechSynthesizer willSpeakWord trouble (From: Paul Bruneau <email@hidden>)
 >Re: speechSynthesizer willSpeakWord trouble (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: cursor handling
  • Next by Date: Mounting Local Volumes
  • Previous by thread: Re: speechSynthesizer willSpeakWord trouble
  • Next by thread: Re: speechSynthesizer willSpeakWord trouble
  • Index(es):
    • Date
    • Thread