ios - Hashtags for posts with swift using parse -


i have uitextfield tags. parse "post" class has column tags when user creating posts. want textfield tags saved data base in such way can query column in posts class , able show them in app separated "#" right after keyboard dismissed or when hit space bar.

basically same functionality stack overflows tags when creating question, ios!

your tags should class, , column of tags should array of pointers (not strings).

as user types can query matching tags , display these options. if no match found can create , save new tag. add tag array of pointers (add unique method).

when querying objects can use includes key option have array of tag pointers downloaded @ same time have tag names display.

to query tag tag object , query objects tags array contains tag object.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -