This exercise is an important challenge that you should do before moving on. Although it is easy to follow my instructions, you will eventually want to create your own applications. Here is where you can start to develop some independence.
I really want to learn Objective-C program for the iPhone, but now that I don't even know how to do the challenges, I doubt it's possible for me to learn it... Is there still hope?
It should also be said that besides the challenges, much of the code he writes makes no sense to me. I am not sure why he writes it and what it does 100%.
如果您尝试在 iPhone 上实现它们,那可能是问题所在:这本书是 Cocoa Programming for Mac OS X,以及 Cocoa 和 Cocoa Touch他们的应用程序框架(Cocoa 中的 AppKit,Cocoa Touch 中的 UIKit)之间有一些很大的差异。我会说,要么先学习 Cocoa(并将示例实现为 Mac 应用程序),因为那是你拥有的书,要么放弃那本书,换一本适合 iPhone 的书。
Hillegass 的书得到了很多推荐,所以如果您发现另一本更适合想要跳过 Mac 的 iOS 程序员的书,请不要害怕推荐它。
预计到达时间:此外,如果您根本不想为 Mac 编程,您本地的图书馆可能会喜欢 Hillegass 的最新书籍。