small medium large xlarge

24 Nov 2011, 04:54
janeh (4 posts)

In the begging of this book, it says that you hardly ever need to modify the int main section (inside main.m), and use @implementation section for your main program code. But, another Objective-C book I am reading actually uses int main for most of the program code, and reserves @implementation section only for class definitions.

So, can you do either? What’s the best practice?


You must be logged in to comment