Learning Swift Second Edition

Andrew J Wagner

  • 出版商: Packt Publishing
  • 出版日期: 2016-03-24
  • 售價: $1,780
  • 貴賓價: 9.5$1,691
  • 語言: 英文
  • 頁數: 308
  • 裝訂: Paperback
  • ISBN: 1785887513
  • ISBN-13: 9781785887512
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • Write expressive, understandable, and maintainable Swift 2 code with this hands-on tutorial
  • Unveil the complex underpinnings of Swift to turn your app ideas into reality
  • This book is packed with real-life examples to help you implement concepts as you learn

Book Description

Swift is Apple's new programming language and the future of iOS and OS X app development. It is a high-performance language that feels like a modern scripting language. On the surface, Swift is easy to jump into, but it has complex underpinnings that are critical to becoming proficient at turning an idea into reality.

This book is an approachable, step-by-step introduction into programming with Swift for everyone. It begins by giving you an overview of the key features through practical examples and progresses to more advanced topics that help differentiate the proficient developers from the mediocre ones. It covers important concepts such as Variables, Optionals, Closures, Generics, and Memory Management. Mixed in with those concepts, it also helps you learn the art of programming such as maintainability, useful design patterns, and resources to further your knowledge. This all culminates in writing a basic iOS app that will get you well on your way to turning your own app ideas into reality.

What you will learn

  • Form a solid understanding of the Swift 2 language
  • Get to know the practical aspects of how a computer program actually works
  • Understand the paradigms used by Apple's frameworks so you are not intimidated by them
  • Utilize the vast resources written in Objective-C to better inform your Swift programming
  • Develop a basic portfolio of Swift code by learning the critical concepts
  • Experience both object-oriented and functional programming
  • Get to know the new coding techniques made available by Swift 2
  • Discover resources to ensure you never stop becoming a better developer

About the Author

Andrew J Wagner is a software developer who concentrates on iOS development and backend web services. He has a degree in computer engineering from Rensselaer Polytechnic Institute, New York. Currently, he works for a development shop named Chronos Interactive based in Denver, CO. He has experience of working with and for large-scale and small-scale companies, as well as running his own contracting and app companies. He is passionate about using computers as a creative outlet and writing software that is beautiful in implementation, functionality, and experience.

When he isn't working or spending time with friends and family, he writes for his blog at http://drewag.me.

Table of Contents

  1. Introducing Swift
  2. Building Blocks – Variables, Collections, and Flow Control
  3. One Piece at a Time – Types, Scopes, and Projects
  4. To Be or Not To Be – Optionals
  5. A Modern Paradigm – Closures and Functional Programming
  6. Make Swift Work For You – Protocols and Generics
  7. Everything Is Connected – Memory Management
  8. Paths Less Traveled – Error Handling
  9. Writing Code the Swift Way – Design Patterns and Techniques
  10. Harnessing the Past – Understanding and Translating Objective-C
  11. A Whole New World – Developing an App
  12. What's Next? – Resources, Advice, and the Next Steps

商品描述(中文翻譯)

關鍵特點
- 透過這個實作教程,撰寫表達性強、易於理解且可維護的 Swift 2 代碼
- 揭示 Swift 的複雜基礎,將您的應用程式構想變為現實
- 本書充滿了實際範例,幫助您在學習過程中實施概念

書籍描述
Swift 是蘋果公司新推出的程式語言,也是 iOS 和 OS X 應用程式開發的未來。這是一種高效能的語言,感覺像是一種現代的腳本語言。表面上,Swift 容易上手,但它有著複雜的基礎,這對於熟練地將想法變為現實至關重要。

本書是一本適合所有人的逐步介紹,讓您學習 Swift 程式設計。它首先通過實際範例提供關鍵特點的概述,然後進入更高級的主題,幫助區分熟練的開發者與普通開發者。內容涵蓋了重要概念,如變數、選擇性、閉包、泛型和記憶體管理。在這些概念中,還幫助您學習程式設計的藝術,例如可維護性、有用的設計模式以及進一步增進知識的資源。所有這些最終將匯聚成撰寫一個基本的 iOS 應用程式,讓您朝著將自己的應用程式構想變為現實的方向邁進。

您將學到的內容
- 形成對 Swift 2 語言的堅實理解
- 瞭解計算機程式實際運作的實際方面
- 理解蘋果框架所使用的範式,讓您不再感到畏懼
- 利用大量用 Objective-C 撰寫的資源,來更好地指導您的 Swift 程式設計
- 通過學習關鍵概念,開發一個基本的 Swift 代碼作品集
- 體驗物件導向和函數式程式設計
- 瞭解 Swift 2 提供的新編碼技術
- 發現資源,確保您不斷成為更好的開發者

關於作者
Andrew J Wagner 是一位專注於 iOS 開發和後端網路服務的軟體開發者。他擁有紐約 Rensselaer Polytechnic Institute 的計算機工程學位。目前,他在位於科羅拉多州丹佛的開發公司 Chronos Interactive 工作。他擁有與大型和小型公司合作的經驗,並經營自己的承包和應用程式公司。他熱衷於將計算機作為創意的出口,並撰寫在實現、功能和體驗上都美觀的軟體。

當他不在工作或與朋友和家人共度時光時,他會在 http://drewag.me 上撰寫部落格。

目錄
1. 介紹 Swift
2. 基礎構件 – 變數、集合和流程控制
3. 一步一步 – 類型、範圍和專案
4. 存在與否 – 選擇性
5. 現代範式 – 閉包和函數式程式設計
6. 讓 Swift 為您服務 – 協議和泛型
7. 一切皆相連 – 記憶體管理
8. 不走尋常路 – 錯誤處理
9. 以 Swift 方式撰寫代碼 – 設計模式和技術
10. 利用過去 – 理解和翻譯 Objective-C
11. 全新世界 – 開發應用程式
12. 下一步是什麼? – 資源、建議和後續步驟