Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
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.
Reply With Quote
  #2 (permalink)  
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!
Reply With Quote
  #3 (permalink)  
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.
Reply With Quote
  #4 (permalink)  
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.
Reply With Quote
  #5 (permalink)  
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.
Reply With Quote
  #6 (permalink)  
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sdk Development pkhussain Reporting Services 0 January 16th, 2007 03: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 03: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



All times are GMT -4. The time now is 11:19 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.