Objective C Memory Management Essentials (Paperback)

Gibson Tang, Maxim Vasilkov

  • 出版商: Packt Publishing
  • 出版日期: 2015-03-26
  • 售價: $1,440
  • 貴賓價: 9.5$1,368
  • 語言: 英文
  • 頁數: 168
  • 裝訂: Paperback
  • ISBN: 1849697124
  • ISBN-13: 9781849697125
  • 相關分類: C 程式語言
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Learn and put into practice various memory management techniques in Objective-C to create robust iOS applications

About This Book

  • Learn about the concepts of memory management in Objective-C
  • Get introduced to Swift, an innovative new programming language for Cocoa and Cocoa Touch
  • A step-by-step approach to various memory management techniques with lots of sample code and Xcode projects for your reference

Who This Book Is For

If you are new to Objective-C or a veteran in iOS application development, this is the book for you. This book will ensure that you can actively learn the methods and concepts in relation to memory management in a more engaging way. Basic knowledge of iOS development is required for this book.

What You Will Learn

  • Understand the theoretical basics of memory management
  • Discover how and why memory leaks occur
  • Use Objective-C to stem memory leaks in your application
  • Familiarize yourself with the various memory debugging tools available in Xcode
  • Implement data persistence using Core Data
  • Understand how ARC helps in memory management
  • Introduce yourself to Swift, the brand new programming language to write effective, lightning-fast applications

In Detail

Objective-C Memory Management Essentials will familiarize you with the basic principles of Objective-C memory management, to create robust and effective iOS applications. You will begin with a basic understanding of memory management, and why memory leaks occur in an application, moving on to autorelease pools and object creation/storage to get an idea of how memory is allocated. You will also see what ARC (Automatic Reference Counting) is and how it helps in memory management. Finally, you will cover examples on how to use the various tools provided by Xcode to help in memory management. You will also get a basic understanding of Swift, the recently introduced programming language to write interactive and lightning-fast applications.

By the end of this book, you will have all the necessary knowledge on how to effectively memory-manage your application with best practices.

商品描述(中文翻譯)

學習並實踐Objective-C中各種記憶體管理技術,以創建堅固的iOS應用程式。

關於本書

- 學習Objective-C中的記憶體管理概念。
- 介紹Cocoa和Cocoa Touch的創新新程式語言Swift。
- 透過大量範例程式碼和Xcode專案,逐步學習各種記憶體管理技術。

適合閱讀對象

- 如果你是Objective-C的新手或iOS應用程式開發的老手,這本書適合你。本書將確保你能以更有趣的方式積極學習與記憶體管理相關的方法和概念。需要具備iOS開發的基本知識。

你將學到什麼

- 理解記憶體管理的理論基礎。
- 發現記憶體洩漏的原因和發生方式。
- 使用Objective-C來防止應用程式中的記憶體洩漏。
- 熟悉Xcode中提供的各種記憶體除錯工具。
- 使用Core Data實現資料持久化。
- 理解ARC如何幫助記憶體管理。
- 介紹Swift,這個全新的程式語言,用於撰寫高效率、快速的應用程式。

詳細內容

Objective-C記憶體管理基礎將使您熟悉Objective-C記憶體管理的基本原則,以創建堅固而有效的iOS應用程式。您將從對記憶體管理的基本理解開始,了解應用程式中為何會發生記憶體洩漏,然後深入研究自動釋放池和物件的建立/儲存,以瞭解記憶體如何分配。您還將了解ARC(自動引用計數)是什麼,以及它如何幫助記憶體管理。最後,您將學習如何使用Xcode提供的各種工具來幫助記憶體管理。您還將對Swift有基本的了解,這是最近推出的程式語言,用於撰寫互動式和快速的應用程式。

通過閱讀本書,您將獲得所有必要的知識,以有效地使用最佳實踐來管理應用程式的記憶體。