Swift For Dummies (Paperback)

Jesse Feiler

  • 出版商: Hungry Minds
  • 出版日期: 2015-02-17
  • 定價: $1,050
  • 售價: 6.0$630
  • 語言: 英文
  • 頁數: 384
  • 裝訂: Paperback
  • ISBN: 1119022223
  • ISBN-13: 9781119022220
  • 相關分類: Apple Developer
  • 立即出貨 (庫存 < 4)

商品描述

Get up and running with Swift—swiftly

Brimming with expert advice and easy-to-follow instructions, Swift For Dummies shows new and existing programmers how to quickly port existing Objective-C applications into Swift and get into the swing of the new language like a pro. Designed from the ground up to be a simpler programming language, it's never been easier to get started creating apps for the iPhone or iPad, or applications for Mac OS X.

Inside the book, you'll find out how to set up Xcode for a new Swift application, use operators, objects, and data types, and control program flow with conditional statements. You'll also get the scoop on creating new functions, statements, and declarations, learn useful patterns in an object-oriented environment, and take advantage of frameworks to speed your coding along. Plus, you'll find out how Swift does away with pointer variables and how to reference and dereference variables instead.

  • Set up a playground development environment for Mac, iPhone, iPad, and wearable computers
  • Move an existing Objective-C program to Swift
  • Take advantage of framework components and subcomponents
  • Create an app that uses location, mapping, and social media

Whether you're an existing Objective-C programmer looking to port your code to Swift or you've never programmed for Apple in the past, this fun and friendly guide gets you up to speed swiftly.

商品描述(中文翻譯)

迅速上手 Swift - 立即行動

《Swift For Dummies》充滿專家建議和易於遵循的指示,向新手和有經驗的程式設計師展示如何快速將現有的 Objective-C 應用程式轉換為 Swift,並像專業人士一樣熟練地使用這個新語言。這本書從頭開始設計成一種更簡單的程式語言,讓您更容易開始創建 iPhone 或 iPad 的應用程式,或者 Mac OS X 的應用程式。

在這本書中,您將了解如何為新的 Swift 應用程式設置 Xcode,使用運算子、物件和資料類型,以及使用條件語句控制程式流程。您還將獲得有關創建新函數、語句和聲明的內幕消息,在面向物件的環境中學習有用的模式,並利用框架加快編碼速度。此外,您還將了解 Swift 如何消除指標變數,以及如何引用和解引用變數。


  • 為 Mac、iPhone、iPad 和可穿戴電腦設置遊樂場開發環境

  • 將現有的 Objective-C 程式轉換為 Swift

  • 利用框架組件和子組件

  • 創建使用位置、地圖和社交媒體的應用程式

無論您是現有的 Objective-C 程式設計師,希望將您的程式碼轉換為 Swift,還是過去從未為 Apple 程式設計過,這本有趣且友善的指南都能讓您迅速上手。