How to use DictationServices.framework

712 views Asked by At

Mac 10.8 contains the private DictationServices.framework

It would never get approved in the App Store but just out of interest: How could one make use of its private classes, methods and messages?

root:~/DictationServices.framework$ strings DictationServices 

reveals the following:

  • SOMicrophonePopUpButton SOMicrophoneView SOMicrophoneLevelMeterController SOEnableDictationPanelController SODictationHotKeyController SOEnableDictationDelegate

    logDictationFinished:serverError:

    com.apple.message.dictationstatus com.apple.speech.recognition.AppleSpeechRecognition.prefs

1

There are 1 answers

3
AudioBubble On BEST ANSWER

Have you tried using class dump to extract the header files? It should just be a matter of including those headers in your project and linking to the framework.