First of all, Sorry. I'm not good at English. Hi. I'm beginner of iOS.
To learn Objective-c for the first time Define the class name and method name in the header file and declare the class object created above in the main.m file on implementation details. M calling the method does.
[NewPoint SetPoint: 3];
[NewPoint print];
But iOS studied, I suddenly was wondering iOS studied.
Without calling the method directly from the main.m
, appdelegate.m
method override you if you do not like this [NewPoint SetPoint:3]
that is the exact reason why I wonder.
Why Running just override method not using [NewPoint SetPoint:3] like this.