Swift Cookbook - 50 Recipes to Help You Harness Swift
暫譯: Swift 食譜 - 50 個食譜幫助你掌握 Swift

Cecil Costa

  • 出版商: Packt Publishing
  • 出版日期: 2015-04-30
  • 售價: $2,200
  • 貴賓價: 9.5$2,090
  • 語言: 英文
  • 頁數: 365
  • 裝訂: Paperback
  • ISBN: 1784391379
  • ISBN-13: 9781784391379
  • 相關分類: Apple Developer
  • 已過版

相關主題

商品描述

Key Features

  • Get familiar with the features of Xcode 6 with Swift to write code that is shorter, clearer, and runs faster on today s multi-core architectures
  • Packed with practical recipes that will help you gain an extra edge and use Apple s new programming language like a professional
  • Build your portfolio with Swift code using this hands-on guide

Book Description

If you have been looking for a book to help you develop apps for iOS on native iOS platforms, this is the book that you've been looking for! This practical guide will supply you with the building blocks that you can turn to when conceptualizing and writing applications for iOS/OS X. You'll master Swift programming as you progress through the various recipes in this book.

Starting with recipes that use the basic features, you will move on to interesting and engaging recipes that will make use of the more complex features of Swift. You will learn how to make use of Swift's diverse features, from the way you can configure your projects to the usage of design patterns and different types of databases. Complete with tips and tricks on Xcode, this example-based guide will help you develop and debug faster.

What you will learn

  • Install the latest version of Xcode and use all of its tools
  • Develop a multi-language project using Swift, Objective-C, C, and other languages
  • Plan your Swift project and explore the nuts and bolts of the Swift syntax
  • Use Swift playgrounds to see and hear your code's results as you write it
  • Localize your issues using the LLDB debugger and explore different possibilities of code with Swift playgrounds

About the Author

Cecil Costa, also know as Eduardo Campos in Latin countries, is a Euro-Brazilian freelance developer who has been learning about computers since getting his first 286 in 1990. From then on, he kept learning about programming languages, computer architecture, and computer science theory. Learning is his passion as well as teaching; this is the reason why he worked as a trainer, giving on-site courses for companies such as Ericsson, Roche, TVE (a Spanish television channel), and lots of other companies. Nowadays, he also teaches through online platforms, helping people from every part of the world.

Table of Contents

  1. Getting Started with Xcode and Swift
  2. Standard Library and Collections
  3. Using Structs and Generics
  4. Design Patterns with Swift
  5. Multitasking
  6. Playground
  7. Swift Debugging with Xcode
  8. Integrating with Objective-C
  9. Dealing with Other Languages
  10. Data Access
  11. Miscellaneous

商品描述(中文翻譯)

主要特點


  • 熟悉 Xcode 6 與 Swift 的功能,以撰寫更短、更清晰且在當今多核心架構上運行更快的程式碼

  • 包含實用的範例,幫助你獲得額外的優勢,並像專業人士一樣使用 Apple 的新程式語言

  • 使用這本實作指南建立你的 Swift 程式碼作品集

書籍描述

如果你一直在尋找一本幫助你在原生 iOS 平台上開發應用程式的書籍,那麼這就是你所尋找的書!這本實用指南將為你提供在構思和撰寫 iOS/OS X 應用程式時可以依賴的基礎構件。隨著你進入本書的各種範例,你將掌握 Swift 程式設計。

從使用基本功能的範例開始,你將進入有趣且引人入勝的範例,這些範例將利用 Swift 的更複雜功能。你將學會如何利用 Swift 的多樣功能,從配置專案的方式到使用設計模式和不同類型的資料庫。這本以範例為基礎的指南還包含 Xcode 的技巧和竅門,將幫助你更快地開發和除錯。

你將學到什麼


  • 安裝最新版本的 Xcode 並使用其所有工具

  • 使用 Swift、Objective-C、C 和其他語言開發多語言專案

  • 規劃你的 Swift 專案,探索 Swift 語法的細節

  • 使用 Swift playgrounds 在撰寫程式碼時即時查看和聽到程式碼的結果

  • 使用 LLDB 除錯器本地化你的問題,並探索 Swift playgrounds 中程式碼的不同可能性

關於作者

Cecil Costa,在拉丁美洲國家也被稱為 Eduardo Campos,是一位歐洲-巴西自由開發者,自 1990 年獲得第一台 286 電腦以來便開始學習計算機知識。從那時起,他持續學習程式語言、計算機架構和計算機科學理論。學習是他的熱情,教學也是;這就是為什麼他曾擔任培訓師,為 Ericsson、Roche、TVE(西班牙電視台)等公司提供現場課程。如今,他也通過線上平台教學,幫助來自世界各地的人們。

目錄


  1. 開始使用 Xcode 和 Swift

  2. 標準庫和集合

  3. 使用結構體和泛型

  4. 使用 Swift 的設計模式

  5. 多任務處理

  6. Playground

  7. 使用 Xcode 進行 Swift 除錯

  8. 與 Objective-C 整合

  9. 處理其他語言

  10. 資料存取

  11. 其他雜項