Re: speechSynthesizer willSpeakWord trouble
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