Login required for access
In order to watch this lesson, you'll need to login to the website.
Show Comments and Hide Posts Protocol
Fullstack Social iOS NodeJS REST
Now that we can show comments from the Home screen, I'd like to cover the topic of implement similar behavior for our Profile pages as well. Whenever you want shared behavior between very different classes, you'll most likely want to create a Protocol that implements a few functions. Doing so will allow other objects to interact with these classes more generally through this Protocol contract. Once we have comments showing in the Profile page, let's move onto enable a "Hide Post" feature on the home page and "Delete Post" option in the profile screen.

Comments (3)
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
HELP & SUPPORT