Learn Cocoa on the Mac, 2/e (Paperback)
Jack Nutting
- 出版商: Apress
- 出版日期: 2013-05-27
- 售價: $1,580
- 貴賓價: 9.5 折 $1,501
- 語言: 英文
- 頁數: 424
- 裝訂: Paperback
- ISBN: 1430245425
- ISBN-13: 9781430245421
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$680$537 -
$800$632 -
$660$647 -
$590$460 -
$420$332 -
$680$578 -
$320$272 -
$550$435 -
$780$616 -
$580$493 -
$520$411 -
$280$218 -
$620$484 -
$490$417 -
$2,250$2,205 -
$390$332 -
$880$695 -
$490$382 -
$480$408 -
$780$616 -
$360$284 -
$480$408 -
$820$697 -
$590$502 -
$450$356
相關主題
商品描述
The Cocoa frameworks are some of the most powerful for creating native OS X apps available today. However, for a first-time Mac developer, just firing up Xcode 4 and starting to browse the documentation can be a daunting and frustrating task. The Objective-C class reference documentation alone would fill thousands of printed pages, not to mention all the other tutorials and guides included with Xcode. Where do you start? Which classes are you going to need to use? How do you use Xcode and the rest of the tools?
Learn Cocoa for the Mac, Second Edition, completely revised for OS X Mountain Lion and XCode 4, answers these questions and more, helping you find your way through the jungle of classes, tools, and new concepts so that you can get started on the next great OS X app today. Jack Nutting and Peter Clark are your guides through this forest; Jack and Peter have lived here for years, and will show you which boulder to push, which vine to chop, and which stream to float across in order to make it through. You will learn not only how to use the components of this rich framework, but also which of them fit together, and why.
Jack Nutting’s approach, combining pragmatic problem-solving with a deep respect for the underlying design philosophies contained within Cocoa, stems from years of experience using these frameworks. Peter Clark will show you which parts of your app require you to jump in and code a solution, and which parts are best served by letting Cocoa take you where it wants you to go. The path over what looks like a mountain of components and APIs has never been more thoroughly prepared for your travels. In each chapter, you’ll build an app that explores one or more areas of the Cocoa landscape. With Jack’s and Peter's guidance, the steep learning curve becomes a pleasurable adventure. There is still much work for the uninitiated, but by the time you’re done, you will be well on your way to becoming a Cocoa master.
What you’ll learn
- How to effectively use Xcode to make your own Cocoa applications—this is much more than just a quick introduction to Cocoa!
- How to best use MVC architecture concepts in a Cocoa application
- Which classes, of the dozens included in Cocoa, are truly central to Cocoa development.
- How the various pieces of the Cocoa frameworks fit with each other and into the MVC architecture
- Which parts of Cocoa truly enable “visual programming”, letting you reap the benefits of proven, reusable code libraries that Apple gives you for free
- How to recognize recurring design patterns used throughout Cocoa, such as delegation and key-value coding, and put them to proper use in your own code
- Where some of the deeper technologies, like Core Data and Cocoa bindings, fit into your app
- How to use the facilities provided in OS X to create software that distributes itself automatically among all available CPUs, improving the user experience for your users.
- How to approach Cocoa from different programming environments
Who this book is for
Anyone with a basic understanding of object-oriented programming who wants to try out OS X app programming, as well as iPhone developers who want to extend their knowledge of Cocoa touch to include the Mac-specific technologies included with Cocoa.
Table of Contents
1. Must Love Cocoa2. Hello, World
3. Lights, Camera, Actions, part 1
4. Lights, Camera, Actions, part 2
5. GUI components
6. Using Table Views
7. Cocoa Bindings
8. Core Data basics
9. Core Data Relationships
10. Search and Retrieve Core Data with Criteria
11. Windows and Menus and Sheets
12. Document-based Apps
13. exceptions, signals, errors, debugging
14. Drawing in cocoa
15. Advanced drawing topics
16. Working with files
17. Concurrency
18. Future Paths
商品描述(中文翻譯)
Cocoa 框架是當今創建原生 OS X 應用程式最強大的工具之一。然而,對於第一次接觸的 Mac 開發者來說,僅僅啟動 Xcode 4 並開始瀏覽文檔就可能是一項艱巨且令人沮喪的任務。僅 Objective-C 類別參考文檔就足以填滿數千頁印刷頁面,更不用說 Xcode 附帶的所有其他教程和指南了。你該從哪裡開始?你需要使用哪些類別?如何使用 Xcode 和其他工具?
《Learn Cocoa for the Mac, Second Edition》完全針對 OS X Mountain Lion 和 XCode 4 進行了修訂,回答了這些問題以及更多問題,幫助你在類別、工具和新概念的叢林中找到方向,讓你今天就能開始開發下一個偉大的 OS X 應用程式。Jack Nutting 和 Peter Clark 將引導你穿越這片森林;Jack 和 Peter 在這裡生活多年,會告訴你該推哪塊巨石、該砍哪根藤蔓,以及該如何渡過哪條小溪。你將學會如何使用這個豐富框架的組件,還有哪些組件是相互配合的,以及為什麼。
Jack Nutting 的方法結合了務實的問題解決與對 Cocoa 內部設計哲學的深刻尊重,這源於他多年使用這些框架的經驗。Peter Clark 將告訴你應用程式的哪些部分需要你親自編寫解決方案,哪些部分則最好讓 Cocoa 自行處理。這條看似由組件和 API 組成的山路,對於你的旅程來說,從未如此徹底地準備好。在每一章中,你將構建一個探索 Cocoa 環境中一個或多個領域的應用程式。在 Jack 和 Peter 的指導下,陡峭的學習曲線將變成一場愉快的冒險。對於初學者來說,仍然有很多工作要做,但當你完成時,你將朝著成為 Cocoa 大師的方向邁出堅實的一步。
你將學到的內容:
- 如何有效使用 Xcode 來製作自己的 Cocoa 應用程式——這不僅僅是對 Cocoa 的快速介紹!
- 如何在 Cocoa 應用程式中最佳使用 MVC 架構概念
- 在 Cocoa 中包含的數十個類別中,哪些是 Cocoa 開發的核心
- Cocoa 框架的各個部分如何相互配合以及如何融入 MVC 架構
- Cocoa 中哪些部分真正實現了「視覺編程」,讓你能夠利用 Apple 免費提供的經過驗證的可重用代碼庫
- 如何識別 Cocoa 中使用的重複設計模式,例如委派和鍵值編碼,並在自己的代碼中正確使用它們
- 一些更深層技術,如 Core Data 和 Cocoa 綁定,如何融入你的應用程式
- 如何利用 OS X 提供的功能創建能夠自動在所有可用 CPU 之間分配的軟體,改善用戶體驗
- 如何從不同的程式環境接觸 Cocoa
本書適合對象:
任何對物件導向程式設計有基本了解的人,想要嘗試 OS X 應用程式編程,以及希望將其 Cocoa touch 知識擴展到包括 Cocoa 中的 Mac 專用技術的 iPhone 開發者。
目錄:
1. 必須熱愛 Cocoa
2. 你好,世界
3. 燈光、相機、行動,第一部分
4. 燈光、相機、行動,第二部分
5. GUI 元件
6. 使用表格視圖
7. Cocoa 綁定
8. Core Data 基礎
9. Core Data 關係
10. 使用條件搜索和檢索 Core Data
11. 視窗、菜單和表單
12. 基於文檔的應用程式
13. 異常、信號、錯誤、除錯