TRY IT OUT p.169 not right?
iOS development is new to me. I purchased 'Begining iOS4 Application Development' and I find there are mistakes. One of them in particular is on page 169 in the TRY IT OUT section (Understanding the Scroll View).
For STEP 9, it says "In Interface Builder, Control-click and drag the File's Owner item over the Scroll View. Select scrollView.".... The problem I have is that the only option available to me is "delegate"... I don't see "Scroll View".... so what's the problem here? As far as I know, I followed everything from scratch.
This is the part that really boggles my mind. As much as I can read and make the exercises and make them work, this book does not give a clear understanding of what connects to what using the Control-Click and Drag method... in other words, why in the world can I (and would I) connect the File's Owner to a Scroll View or to a Text Field, or why would I connect a Text Field to my App Delegate etc?? There doesn't seem to be any guidelines to follow when making connections. This is the showstopper for me - I don't understand what connects to what in Xcode because it seems that lots of things can connect to lots of things and I just don't get it. Why can I make a connection from A to B but also, make a connection from B to A??? I understand IBActions 110%. I think I understand IBOutlets as without outlets, I wouldn't be able to set a specific text on a label or change the color of an object etc.... but the connections I think is the one thing I don't understand at all.
Last edited by BenoitQC; October 25th, 2011 at 02:07 PM..
|