Hi,
I am very confused about application flow control in iOS. In the first few chapters of the BNR book, AppDelegate is used to control overall application flow. However, this approach has been mercilessly rejected on the Apple Developer Forums as somehow oversimplifying the development process.
When I asked about the use of AppDelegate in the “Getting Started” forums, my question was quickly shot down, and I was directed to a previous thread that discussed these issues. My question was posted here:
devforums.apple.com/message/610045#610045
The other thread is posted here:
devforums.apple.com/message/593910
In that thread, Rufus (a very prolific commenter) wrote that “This is just flat wrong. Of course it works, and they apparently are trying to keep it simple, but it is going to totally confuse the hell out of all of their readers. Not right away, but later when the readers realize that you don’t use the app delegate as a view controller. Just the fact that this diagram shows labels hooked up to something that has no “view” property is BIZARRE.”
Rufus goes on to make some broader criticisms of BNR. When asked to suggest alternative books, he says “save your money” and directs folks to the Apple documentation.
I am soooooo confused. I have been trying to figure out other approaches for controlling application flow that would somehow be more appropriate, but none of the approaches seem to work. Can someone at BNR help the rest of us make sense of this controversy? Is this one of those classic programming holy wars in which it is hard to say who is correct? Or is Rufus correct in saying that the BNR approach will cause problems down the road?
Thanks in advance for any help you can give. Looking forward to the next edition.
Aaron