I don’t know if this has been covered in the book. If so, I missed it. At some point during the transition between command line tools and iOS programs, we went from executing the majority of our code in main to executing the majority of it in implementation blocks. I’m having a bit of a hard time understanding the concept of how implementation blocks are called. I understand that when defining methods, the method’s definition is executed when it is called in the delegate, for example, say to set an ivar or initialize an instance of the class the method belongs to. What I don’t understand is how so many of the methods defined in the implementation block are executed without ever being called outside of the implementation file.
Any help with this concept would be immensely appreciated.