@main
attribute do?Suggested approach: This attribute marks the point where your program starts to run. When using this attribute with one of your types need to implement a main()
method to handle setting up your program, but if you’re using SwiftUI the App
protocol provides that for you.
Estimated difficulty: Intermediate
See the full list of iOS interview questions
Link copied to your pasteboard.