Stuck allowing app users to upload images, videos, or files to a private or public feed

I’m trying to develop a new creative app where app users can upload files, videos, or images.

I'm stuck trying to code in swift allowing my app users to upload a video and can be shows in feeds to everyone and visible on their profile in the app.

Examples

YouTube: allows any user create a channel and upload videos and earn subscribers and receive comments and likes

Facebook: allows users to accept friend request and post photos with text to their profile and shows on feeds to everyone, just their friends, or certain people.

My Request

What I’m asking is how can I code in something like this into my app?

Im really passionate about learning how to code and want to learn and grow as a developer, so any and all help is appreciated. Please note I’m a slow learner so please provide examples if possible, Thx!

Stuck allowing app users to upload images, videos, or files to a private or public feed
 
 
Q