lundi 29 juin 2015

User tagging and hash tagging


I want to develop a functionality very similar to instagram and Facebook user tagging and hash tagging. How far I have come - 1. I can show suggestions when user enters @ and #.I do it in shouldchangecharacters in range funtion.

  1. I took a dictionary which contains tangle and location of tag in that textfield so I can show it in description in feeds.

Problems - I change color of Tag name but when I write just next to it that character color also changes. When user deletes characters from tagged username I want to delete it whole and location changes for tags so my dictionary become a complete waste. My code works only if user doesn't delete anything but keep writing characters and keep adding tags. Can anyone help me out? Please reply asap. I am stuck


Aucun commentaire:

Enregistrer un commentaire