I am new in Swift, so please keep that in mind.
I am building an app that sends a lot of API calls that takes pretty long time, and I am using just normal activity indicator to let users know the app is working and is fine.
It is tedious to create a new activity indicator every time I create a new view, so is there any way to avoid creating activity indicator every time?
Is there any way to use just one activity indicator that can be used throughout the views?
Thank you in advance.