In Java one can specify the class what class is called when program starts. It must have public static void main .. you know the drill.
How about in Objective-C? Of all the classes you may have present in your program which one is called first?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The starting point is not in a class but in the
mainfunction, same as regular C:For an iOS app, this is generally generated for you and control is passed into your
UIApplicationMain.For more information, see the section on the main function in the docs here.