Beginning Swift Programming (Paperback)

Wei-Meng Lee

  • 出版商: Wrox Press
  • 出版日期: 2014-12-22
  • 定價: $1,400
  • 售價: 6.0$840
  • 語言: 英文
  • 頁數: 288
  • 裝訂: Paperback
  • ISBN: 1119009316
  • ISBN-13: 9781119009313
  • 相關分類: Apple Developer
  • 立即出貨 (庫存 < 4)

商品描述

Enter the Swift future of iOS and OS X programming

Beginning Swift Programming is your ideal starting point for creating Mac, iPhone, and iPad apps using Apple's new Swift programming language. Written by an experienced Apple developer and trainer, this comprehensive guide explains everything you need to know to jumpstart the creation of your app idea. Coverage includes data types, strings and characters, operators and functions, arrays and dictionaries, control flow, and looping, with expert guidance on classes, objects, class inheritance, closures, protocols, and generics. This succinct — yet complete — overview provides a detailed introduction to the core features of Swift.

Apple developed Swift to address the limitations of Objective-C, and add features found in more complex languages like Python. The results is simpler, cleaner, more expressive code with automatic memory management, functional programming patterns, and more, including built-in features that make Swift apps faster, scalable, and more secure. This book explains it all, helping developers master Apple's new language.

  • Become fluent with syntax that's easier to read and maintain
  • Understand inferred types for cleaner, less mistake-prone code
  • Learn the key features that make Swift more expressive than Objective-C
  • Learn the new optional types in Swift that make your code more resilient
  • Understand the key design patterns in iOS and Mac OS programming using protocols and delegates
  • Learn how to use generics to create highly reusable code
  • Learn the new access controls mechanism in Swift

Get up to speed quickly to remain relevant and ahead of the curve.

商品描述(中文翻譯)

進入iOS和OS X編程的Swift未來

《Beginning Swift Programming》是使用蘋果新的Swift編程語言創建Mac、iPhone和iPad應用程序的理想起點。這本由經驗豐富的蘋果開發者和培訓師撰寫的全面指南,解釋了您需要了解的一切,以啟動您的應用程序創意的創建。內容包括數據類型、字符串和字符、運算符和函數、數組和字典、控制流和循環,以及關於類、對象、類繼承、閉包、協議和泛型的專家指導。這個簡潔而完整的概述提供了對Swift核心功能的詳細介紹。

蘋果開發Swift是為了解決Objective-C的限制,並添加了在Python等更複雜語言中找到的功能。結果是更簡單、更清潔、更表達性的代碼,具有自動內存管理、函數式編程模式等更多功能,包括內置功能,使Swift應用程序更快、可擴展和更安全。本書將解釋所有這些,幫助開發人員掌握蘋果的新語言。

- 熟悉更易讀且易於維護的語法
- 理解推斷類型,以編寫更乾淨、更少錯誤的代碼
- 學習使Swift比Objective-C更具表達性的關鍵功能
- 學習Swift中的新的可選類型,使代碼更具彈性
- 通過協議和委託學習iOS和Mac OS編程中的關鍵設計模式
- 學習如何使用泛型創建高度可重用的代碼
- 學習Swift中的新訪問控制機制

快速掌握知識,保持與時俱進。