I'm making a basic app that allows user login.
I wanted to know the general practice of passing user data between view controllers. After a user is authenticated, is it generally acceptable to pass their data through view controllers?
For example, user A is logged in and authenticated. User A wants to "create a event", to be able to save that the user is hosting this event, I would have to store the users ID on the event as host and I would need access to his UID. Would you save the users ID after login and keep passing it in to every view?
I am using Firebase as my backend if that helps.