ios - Likes and comments in Parse -


I am creating an app where I am following classes during the time of user, items and comments.

User: displayName: string

Item: Like: Relation

Comments: Text: String Items: Pointer

What do I need All of which show the collection view, like items and counting (and check whether the current user likes the image or not) with the count of comments.

I am thinking that this is the best solution for this, because I have read that

what is the best class architecture to create such a scene is?

Enter image details here

< Item class = "text">

I suggested that with the structure you can go
you find the application very simple, just reuse what was parsed, They did it smart
Re-use their code implementation and smart solutions

Models
User - Original user information (name, email, id, etc.)
Items - Your item has been displayed in the archive. (Photos, ownership, name, etc.)
Activity - (from, type, content) - likes, comments

On the other hand, "make different models for comment" and "2 comments" Will separate.
You should make different classes and institutions while doing programming in general.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -