brush51 brush51 - 1 year ago 61
Objective-C Question

How to put Objective C code into Word (Office) with syntax highlighting

I am writing documentation about an app and want to explain the code.
I want to copy parts of the Objective C code from Xcode to Microsoft Word.
I don't know how to put the code with syntax highlighting (and maybe line numbers, too ?!) into Word.

Does anybody know a usable solution for this little problem?

Answer Source

Copy and paste works !

Nevertheless, make sure the option "Copy colors and fonts" in Preferences>Fonts & Colors is checked !