Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add Emoji in code?

Tags:

xcode

emoji

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?

like image 750
4thSpace Avatar asked Apr 25 '16 17:04

4thSpace


People also ask

What is the HTML code for emojis?

Emoji Characters Emojis are also characters from the UTF-8 alphabet: 😄 is 128516. 😍 is 128525. 💗 is 128151.

How do I put emojis in Javascript?

To specify this emoji in HTML using the codepoint, we have to modify the value a bit. Add the &#x characters, remove the U+1 from the beginning of the codepoint, and just add the remaining digits from the codepoint as part of any text element.


1 Answers

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

like image 153
redent84 Avatar answered Sep 23 '22 04:09

redent84