Given the following:
["name":"CAT FACE WITH WRY SMILE", "utf":"1F63C"],
["name":"KISSING CAT FACE WITH CLOSED EYES", "utf":"1F63D"],
["name":"POUTING CAT FACE", "utf":"1F63E"],
["name":"CRYING CAT FACE", "utf":"1F63F"]
How do I convert the utf part into an emoji, e.g. , in a scalable, performant way (there are thousands of these)
I tried something like:
String(utf8String: utf.cString(using: String.Encoding.utf8)
but it doesn't work