Learning Objective-C 2.0: A Hands-on Guide to Objective-C for Mac and iOS Developers, 2/e (Paperback)

Robert Clair

  • 出版商: Addison Wesley
  • 出版日期: 2012-11-24
  • 售價: $1,330
  • 貴賓價: 9.5$1,264
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 0321832086
  • ISBN-13: 9780321832085
  • 相關分類: Apple Developer
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

 


Get Started Fast with Objective-C 2.0 Programming for OS X Mountain Lion, iOS 5.1, and Beyond

 

Fully updated for Xcode 4.4, Learning Objective-C 2.0, Second Edition, is today’s most useful beginner’s guide to Objective-C 2.0. One step at a time, it will help you master the newest version of Objective-C 2.0 and start writing high-quality programs for OS X 10.8 Mountain Lion, iOS 5.1, and all of Apple’s newest computers and devices.

 

Top OS X and iOS developer Robert Clair first reviews the essential object and C concepts that every Objective-C 2.0 developer needs to know. Next, he introduces the basics of the Objective-C 2.0 language itself, walking through code examples one line at a time and explaining what’s happening behind the scenes.

 

This revised edition thoroughly introduces Apple’s new Automated Reference Counting (ARC), while also teaching conventional memory-management techniques that remain indispensable. Carefully building on what you’ve already learned, Clair progresses to increasingly sophisticated techniques in areas ranging from frameworks to security. Every topic has been carefully chosen for its value in real-world, day-to-day programming, and many topics are supported by hands-on practice exercises.

 

Coverage includes

 

·      Reviewing key C techniques and concepts, from program structure and formats to variables and scope

·      Understanding how objects and classes are applied in Objective-C 2.0

·      Writing your first Objective-C program with Xcode 4.4

·      Using messaging to efficiently perform tasks with objects

·      Getting started with Apple’s powerful frameworks and foundation classes

·      Using Objective-C control structures, including Fast Enumeration and exception handling

·      Adding methods to classes without subclassing

·      Using declared properties to save time and simplify your code

·      Mastering ARC and conventional memory management, and knowing when to use each

·      Using Blocks to prepare for concurrency with Apple’s Grand Central Dispatch

·      Leveraging Xcode 4.4 improvements to enums and @implementation

 

商品描述(中文翻譯)

《快速入門 Objective-C 2.0 程式設計:針對 OS X Mountain Lion、iOS 5.1 及更高版本》是一本全面更新至 Xcode 4.4 的入門指南,是學習 Objective-C 2.0 的最佳選擇。逐步引導您掌握最新版本的 Objective-C 2.0,並開始為 OS X 10.8 Mountain Lion、iOS 5.1 和蘋果最新的電腦和設備撰寫高品質的程式。

頂尖的 OS X 和 iOS 開發者 Robert Clair 首先回顧了每個 Objective-C 2.0 開發者都需要了解的基本物件和 C 語言概念。接著,他介紹了 Objective-C 2.0 語言本身的基礎,逐行解釋程式碼範例背後的運作原理。

這本修訂版全面介紹了蘋果的新自動引用計數(ARC)技術,同時也教授了不可或缺的傳統記憶體管理技巧。Clair 在您已經學到的基礎上逐步深入,涵蓋範圍從框架到安全性的各種複雜技術。每個主題都精心挑選,以其在實際日常程式設計中的價值為依據,並且許多主題都有實際操作練習的支援。

本書的內容包括:

·      回顧關鍵的 C 技巧和概念,從程式結構和格式到變數和範圍

·      理解如何在 Objective-C 2.0 中應用物件和類別

·      使用 Xcode 4.4 撰寫您的第一個 Objective-C 程式

·      使用訊息傳遞有效地執行物件任務

·      開始使用蘋果強大的框架和基礎類別

·      使用 Objective-C 控制結構,包括快速列舉和例外處理

·      在不繼承的情況下為類別新增方法

·      使用宣告屬性節省時間並簡化程式碼

·      精通 ARC 和傳統記憶體管理,並知道何時使用每種方法

·      使用 Blocks 為蘋果的 Grand Central Dispatch 做好並行處理的準備

·      利用 Xcode 4.4 的改進功能,如列舉和 @implementation

以上是本書的內容概述。