How to add Emoji in code?

In Xcode, I've previously gone to Editor > Emoji & Symbols, found some Emoji, double clicked it and had it appear in my code where the cursor is.

I'm trying to do that now and nothing is happening. I can't find any way to get the Emoji into Xcode.

Does anyone have some suggestion?


Solution 1:

This solution is for Mac OS (Mavericks and up) and not only Xcode:

Cmd+Ctrl+Space

Will bring this menu, where you can simply click on the one you want:

emoji picker menu

Solution 2:

Open Xcode -> Edit Menu -> Choose enter image description here

Then Emoji appears , Here is snapshot :

enter image description here

Note : - Xcode 7.2.1

Hope it Helps. Thanks