Wrox Programmer Forums
|
BOOK: Beginning iPhone SDK Programming with Objective-C
This is the forum to discuss the Wrox book Beginning iPhone SDK Programming with Objective-C by Wei-Meng Lee; ISBN: 978-0-470-50097-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning iPhone SDK Programming with Objective-C section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 29th, 2010, 08:16 PM
Registered User
 
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy SDK 3.2.2

I bought this book, but before using it I downloaded SDK 3.2.2. After running into the problems mentioned (and solved) in this post, and still having no joy, I downloaded the code for the exercises and looked to see the difference in the chapter 2 and what I had. The chapter 2 code, however, looked like it had never been modified as described in the book, but rather the raw code as generated by Xcode; so there was no help there.

The second point seems to be the existence of 'Outlets' and 'Actions'. Forgive me if this is a silly question, but they aren't explained very well - although I see they're in the title of Chapter 3, so perhaps reading that will lead me to enlightenment.

TL;DR - download code for chapter 2 seems wrong; posted fix for chapter 2 problem doesn't work.
 
Old May 10th, 2010, 09:59 PM
Registered User
 
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Chapter 2 is messed up now that SDK 3.2.2 is out

I downloaded SDK 3.2.2 which screwed up the example code is Chapter 2.

I followed the links in this forum and still cannot get the btnClicked: action? to work.

Downloading the example code doesn't help at all. The view panel in IB is BLANK???

Can someone explain why my code will not work? I can click the "Click Me" button in the simulator and on my iphone and nothing happens??

HELP!
 
Old July 29th, 2010, 04:54 AM
Registered User
 
Join Date: Jul 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The main problem I found in this section was that the merging code did not work as described in the book and seemed very unreliable. So I made sure the code was the same as the book.

As for your button not working. Make sure the btnClicked: function is spelled correctly everywhere. In the code and also importantly in the button connecting to your code bit.

Good luck.
 
Old August 5th, 2010, 08:32 AM
Registered User
 
Join Date: Feb 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think I totally missed the boat on this one (didn't get my mini until May). I have SDK 4 as well and all of the books I have tried are geared towards earlier versions of the SDK. Some of the example apps work and some do not. I will not try another one until I know it covers SDK 4. I ran in to the same thing while learning Ruby on Rails most of the books were for earlier versions and it was pretty frustrating. I can't even imagine tackling Android at this point.
 
Old August 5th, 2010, 02:55 PM
Registered User
 
Join Date: Jul 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found that following the instructions in the book works better than the download. I think some of the auto-saved files have new names and so on.

I am trying to bash through this anyway and remove the parts that now don't work. This book seems to just cover the basics anyway so I think I would also need something more comprehensive too.

A version 4 book would be a godsend.
 
Old August 5th, 2010, 03:18 PM
Registered User
 
Join Date: Feb 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried most of the newer books including the latest from @press and they are all based on SDK 3 as well. I can tell you from experience you just have to go through all of the exercises for the exposure to Obj C and if they launch well that is a bonus





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sdk Development pkhussain Reporting Services 0 January 16th, 2007 04:17 AM
Downloading SDK 1.4 ironchef Java Basics 0 August 31st, 2006 04:51 PM
Using SDK Eliasson Java Basics 5 December 29th, 2005 04:53 AM
Please Define SDK eberly General .NET 2 April 10th, 2005 04:49 PM
Direct X SDK krishnabhargav General .NET 0 September 21st, 2004 08:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.