关于各个版本之间的差异,我建议您查看Objective-C 功能可用性索引和Xcode 发行说明。Xcode 4.5 的主要变化是对 iOS 6 的支持,您可以在 iOS 中的新增功能:iOS 6中查看这些功能的列表
我认为即使您运行的是 Xcode 4.5.2(或其他),您也可以学习斯坦福课程。有一些细微的差异,但其中大部分只是您可能尚未使用的新功能。坦率地说,我们中的许多人(大多数?)今天仍在部署 iOS 5(或更早版本)应用程序,以确保与在其设备上使用旧版本 iOS 的用户向后兼容,所以如果您在学习基础知识的同时专注于 iOS 5 ,我认为这很好。因此,继续学习该课程并掌握 iOS 5,完成后,您可以观看 WWDC 2012 视频以熟悉一些 iOS 6 功能和新的 Xcode 功能。
The only major stumbling block that leaps out at me (if you focus on iOS 5 targets) might be autolayout which is an iOS 6 feature which defaults to being turned on. To avoid confusion here, whenever creating a new storyboard or NIB, you may want to turn off "autolayout". If so, go to Interface Builder, click somewhere on the background, select the "file inspector" in the right panel, and make sure the "Use Autolayout" flag is unchecked.
