Jan 29th, 2010 by duncan
I just heard from my publisher and it looks like with all the excitement around Apple’s new iPad an update to my book may be in the very near future.
Posted in Cocoa, Objective-C, iPhone
I just purchased the book and downloaded XCode 3.2.1. I am finding a lot of screen shots that are not correct. Is this version of XCode very different from the last? It has been slow going because I have to hunt to find the functionality you show in some of the screen shots. E.g., Figure 2.55, page 66. It took me a long time to find out that the outlets and actions pieces have moved to a different window. Another example is Figure 2.67. I am disappointed in the book because the mismatch is making it slow going. Will you be fixing this?
The newer version of Xcode and Interface Builder were released right after the book went to press so unfortunately some of the screenshots may differ a little.
I am a little confused though – both of the screenshots you refer to are correct for the most current version of Interface Builder.
The IB version is 3.2.1 (740). The problem is that when I select the Identity pane in the Inspector Window, I do not see the 2 subsections titled “Class Actions” and “Class Outlets”. I only see the Class drop down selection and the Interface Builder Identity subsection.
I can see “Received Actions” and “Referencing Outlets” in the Connections pane but that’s it.
I am having the same issues that ginny has… with the screen shots of the connections and actions. I am very knew to Xcode so I am not sure where to look just yet. I am referring to some other books by other authors until I find it but I just found your site. Perhaps you can post a correct screen shot. Thank you sir.
Same problem. No class Action and class Outlet fig2.58 page 68.
What to do !
Yep, you are all correct – sorry! The screenshots were from the version of IB that was current and correct when the book went to press. I am currently working on an update to the book, and the screenshot (and description) has been updated.
There is a new mode in the Library window called “Classes” – if you select this, the Outlets and actions can be accessed from the drop-down at the bottom. I’ve posted the updated screenshots here and here.
I purchased your book for two reasons:
#1: I don’t like to mess around to much with Interface builder
(I have programmed low-level code all my life and the messing with graphics makes me feel i loose control. Half gfx, half code, half (ups that’s three) dragging strings here and there, bah!!)
#2: You jump straight to the point, no chit chat at all
And yes, your book is great and covers most of the issues I need
Especially the networking part is a feature often skipped by other authors.
I have just one wish for the update of the book,
PLEASE (with sugar on top) list the code-examples in a
resizeable font. Since I have the electronic version of the
book I have to size the images of the code up to fullscreen
at my 24 ich monitor to make it proper readable.
I know the code is for download and all but still the narrow
font in the code-examples are a nuance when reading the book…
“nuance” should have been “nuisance”
I’m sorry but I have *no* control over the book layout – that’s all done by the publishers and I have to work within a strict template.
You should contact them with your request: http://peachpit.com.
I have one more question.
In the networking part of your book you have an (almost) excellent example on how to retrieve stock quotes from yahoo.com (code example 6.4)
When I tried to use that the compiles complained about “stringWithContentsOfUR” and that “method is being deprecated”.
I found the new version of “stringWithContentsOfUR” with encoding and error arguemnets added, but I can’t seem to figure out a proper way to change your example to work 100% with the new version of the “stringWithContentsOfUR”.
Can you pretty please post an updated version of code example: 6.4 and 6.5 ?
Mail (hidden) (required)
objective-d © 2017 All Rights Reserved.