I noticed that in the calculator demo of Stanford CS193p course, the IBOutlet connection was dragged from the label to header file. However, the IBAction connection was directly created in the .m file. I tried reading through the documentation and searched on Google but couldn't find the reason behind this.
I would argue that IBAction digitPressed method should be declared in the header file as well (shouldn't it be part of the interface?).
I am obviously fairly new to Objective C (mostly worked in Java) so I am sure I am missing something basic.
Can anyone please explain?