I need help understanding when to use @main vs @uiapplicationmain.
From what I know, @uiapplicationmain is an easier way of calling the uiapplicationmain(:::) where the class that is made after @uiapplicationmain is used as the App Delegate. I also know that it also creates an UIApplication.
I also know that app delegate becomes the entry point for the project.
From what I have read I was told that @main is also a entry point but it requires an main function.
What I want to know is what do they mean by the main entry point. Like what is Xcode doing to make it the "entry" point. And how does the whole @main thing work, as in how does it differ from @uiapplicationmain and what is it doing to the way Xcode runs the code.