Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SpeechController
- # from - (void)speechSynthesizer:(NSSpeechSynthesizer *)sender willSpeakWord:(NSRange)wordToSpeak ofString:(NSString *)text
- def speechSynthesizer(sender, willSpeakWord: wordToSpeak, ofString: text)
- end
- # from speechSynthesizer:willSpeakWord:ofString:
- def speechSynthesizer(speechSynthesizer, willSpeakWord: speakWord, ofString: string)
- end
- def someMethod
- # self.m expanded becomes
- self.speechSynthesizer(sender, willSpeakWord: wordToSpeak, ofString: text)
- end
- end
Add Comment
Please, Sign In to add comment