Do2 Do2 - 1 month ago 9
iOS Question

Issues when attempting to modify an emoji sequence

I have the following function that takes a string with emojis, if its a sequence emoji a+b it will leave a as is and it will change b to a different emoji

func changeEmoji(givenString:String)->(String){

let emojiDictionary :[String:String] = [
"⛹" : "⛹",
"♀️" : "


The problem is that "⛹