Swift 2 By Example(Paperback)

Giordano Scalzo

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

相關主題

商品描述

Key Features

  • Get up to speed with the new features of Swift 2 by following the exhaustive examples in this book
  • Specialize in developing real iOS apps, and 2D and 3D videogames using Swift and Cocoapods
  • Learn how to build server API apps to feed your iOS client apps

Book Description

Swift is no longer the unripe language it was when launched by Apple at WWDC14, now it's a powerful and ready-for-production programming language that has empowered most new released apps.

Swift is a user-friendly language with a smooth learning curve; it is safe, robust, and really flexible.

Swift 2 is more powerful than ever; it introduces new ways to solve old problems, more robust error handling, and a new programming paradigm that favours composition over inheritance.

Swift 2 by Example is a fast-paced, practical guide to help you learn how to develop iOS apps using Swift. Through the development of seven different iOS apps and one server app, you'll find out how to use either the right feature of the language or the right tool to solve a given problem.

We begin by introducing you to the latest features of Swift 2, further kick-starting your app development journey by building a guessing game app, followed by a memory game. It doesn't end there, with a few more apps in store for you: a to-do list, a beautiful weather app, two games: Flappy Swift and Cube Runner, and finally an ecommerce app to top everything off.

By the end of the book, you'll be able to build well-designed apps, effectively use AutoLayout, develop videogames, and build server apps.

What you will learn

  • Create a server in Swift to deliver JSON data to an iOS app
  • Take advantage of Cocoapods to use third-party libraries
  • Use a clean and effective architecture to decrease complexity and speed up development
  • Take advantage of the most useful parts of the iOS SDK
  • Build games with SpriteKit and SceneKit
  • Develop an app running on the cloud to act as an API server for your client's apps

About the Author

Giordano Scalzo is a developer with 20 years of programming experience, since the days of the ZXSpectrum.

He has worked in C++, Java, .Net, Ruby, Python, and in so many other programming languages he has forgotten the names.

After years of backend development, over the past 5 years Giordano has developed extensively for iOS, releasing more than 20 apps―apps that he wrote for clients, enterprise applications, or on his own.

Currently, he is a contractor in London, where―through his company, Effective Code Ltd, http://effectivecode.co.uk―he delivers code for iOS, aiming at quality and reliability.

In his spare time, when he is not crafting retro game clones for iOS, he writes his thoughts at http://giordanoscalzo.com.

Table of Contents

  1. Welcome to the World of Swift
  2. Building a Guess the Number App
  3. A Memory Game in Swift
  4. A TodoList App in Swift
  5. A Pretty Weather App
  6. Flappy Swift
  7. Polishing Flappy Swift
  8. Cube Runner
  9. Completing Cube Runner
  10. ASAP – an E-commerce App in Swift
  11. ASAPServer, a Server in Swift

商品描述(中文翻譯)

主要特點



  • 通過本書中詳盡的示例,了解 Swift 2 的新功能

  • 專注於使用 Swift 和 Cocoapods 開發真實的 iOS 應用程序和 2D、3D 電子遊戲

  • 學習如何構建用於提供數據給 iOS 客戶端應用程序的服務器 API 應用程序

書籍描述


Swift 不再是 Apple 在 WWDC14 上推出時的未成熟語言,現在它是一種功能強大且適合生產的編程語言,已經成為大多數新發布的應用程序的首選。


Swift 是一種用戶友好的語言,具有平滑的學習曲線;它安全、強大且非常靈活。


Swift 2 更加強大;它引入了解決舊問題的新方法,更強大的錯誤處理以及一種偏向組合而非繼承的新編程範式。


《Swift 2 by Example》是一本快節奏、實用的指南,幫助您學習如何使用 Swift 開發 iOS 應用程序。通過開發七個不同的 iOS 應用程序和一個服務器應用程序,您將了解如何使用語言的正確功能或正確工具來解決特定問題。


我們首先介紹 Swift 2 的最新功能,然後通過構建猜數字遊戲應用程序和記憶遊戲應用程序來啟動您的應用程序開發之旅。這還不止,還有更多的應用程序等著您:待辦事項列表、漂亮的天氣應用程序、兩個遊戲:Flappy Swift 和 Cube Runner,最後還有一個電子商務應用程序。


通過閱讀本書,您將能夠構建設計良好的應用程序,有效使用 AutoLayout,開發視頻遊戲並構建服務器應用程序。

您將學到什麼



  • 使用 Swift 創建服務器,向 iOS 應用程序提供 JSON 數據

  • 利用 Cocoapods 使用第三方庫

  • 使用乾淨有效的架構減少複雜性並加快開發速度

  • 充分利用 iOS SDK 的最有用部分

  • 使用 SpriteKit 和 SceneKit 構建遊戲

  • 開發運行在雲端上的應用程序,作為客戶端應用程序的 API 服務器

關於作者


Giordano Scalzo 是一位擁有 20 年編程經驗的開發者,從 ZXSpectrum 時代開始。


他曾在 C++、Java、.Net、Ruby、Python 等多種編程語言上工作,已經忘記了其中的名字。


在多年的後端開發之後,過去的 5 年中,Giordano 專注於 iOS 開發,發布了 20 多個應用程序,其中包括為客戶、企業應用程序或自己開發的應用程序。


目前,他是倫敦的一名承包商,通過他的公司 Effective Code Ltd(http://effectivecode.co.uk)為 iOS 提供高質量和可靠的代碼。


在業餘時間,當他不在為 iOS 開發製作復古遊戲克隆時,他會在 http://giordanoscalzo.com 上寫下他的思考。

目錄



  1. 歡迎來到 Swift 的世界

  2. 構建猜數字遊戲應用程序

  3. Swift 中的記憶遊戲

  4. Swift 中的待辦事項列表應用程序

  5. 漂亮的天氣應用程序

  6. Flappy Swift

  7. 完善 Flappy Swift

  8. Cube Runner

  9. 完善 Cube Runner

  10. ASAP - 一個 Swift 中的電子商務應用程序

  11. ASAPServer - 一個 Swift 中的服務器

最後瀏覽商品 (1)