+ 2
what static void main
2 Antworten
+ 3
Swift doesn't have main method.
What do you want to know?
+ 1
Probably your question is 'where is main() function in swift which we had in objective-c "main.m" file'. It is changed to @UIApplicationMain attribute in swift. Further recommended read: https://stackoverflow.com/questions/24516250/what-does-uiapplicationmain-mean