• 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: patrick machielse <email@hidden>
  • Date: Sat, 7 Jul 2007 11:32:30 +0200

Op 7-jul-2007, om 02:15 heeft Paul Bruneau het volgende geschreven:

I am just messing around with some speech stuff (expanding on examples from Hillegass' book) and I just can't make the willSpeakWord delegate work right. Here is my method:

-(void)speechSynthesizer:(NSSpeechSynthesizer *)sender
		   willSpeakWord:(NSRange)characterRange
				ofString:(NSString *)myString;
{
	NSLog(@"Range: %@", NSStringFromRange(characterRange));
	NSLog(@"Speaking: %@", [myString substringWithRange:characterRange]);
}

You found a bug. This delegate method stopped working in Mac OS X 10.4.7.
You can reference this ID in your own bug report:


Problem ID 4845318: NSSpeechSynthesizer delegate method always passes nil for argument

patrick
_______________________________________________

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


  • Prev by Date: Re: Access Obj-C method/attribute from a C method
  • Next by Date: Re: Cross-platform toolkit with a Cocoa backend
  • Previous by thread: Re: Access Obj-C method/attribute from a C method
  • Next by thread: Framework Weak Linking Weirdness
  • Index(es):
    • Date
    • Thread