Output to the Mac cursor.

Hi, I am trying to make an app to use on iPhone speech-to-text and then output to the mac cursor. Does anybody have any recommendations on how to get the text field to the Mac cursor?