Beginner's Guide to iOS 10 App Development Using Swift 3: Xcode, Swift and App Design Fundamentals

Serhan Yamacli

  • 出版商: CreateSpace Independ
  • 出版日期: 2016-11-29
  • 售價: $840
  • 貴賓價: 9.5$798
  • 語言: 英文
  • 頁數: 216
  • 裝訂: Paperback
  • ISBN: 1540452158
  • ISBN-13: 9781540452153
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

This book covers iOS 10 app design fundamentals using the latest Swift 3 programming language, Xcode 8 and iOS 10 SDK.

The author assumes you have no experience in app development. The book starts with the installation of the required programming environment and setting up the simulators. Then, the simplest Hello World app is developed step by step. In the next chapter, basics of the Swift 3 programming language are given with practical examples. Screenshots and code snippets are clearly given in the book to guide the reader. After the Swift lecture, 7 complete apps (including a 2D game) are developed in seperate chapters. As the reader follows the development of the example apps, he/she will learn designing user interfaces, connecting interface objects to code, developing efficient Swift code and testing the app on simulators and real devices.

Chapters of the book and the contents of these chapters are as follows:

Chapter 1. Introduction: General info and the steps of developing an iOS app.

Chapter 2. Setting up your development environment: Installing Xcode, setting up signing identities, viewing/adding simulators and real devices.

Chapter 3. Test drive - the "Hello World" app: Creating a new Xcode project, adding and positioning user interface objects, building the project, running the developed app on the simulator and on the real device.

Chapter 4. Swift programming language: Variables, constants, optionals, arrays, dictionaries, sets, if-else and switch-case decision making statements, for and while loops, functions, classes, objects and inheritance in Swift 3. Each concept is clearly explained step by step with code examples and screenshots.

Chapter 5. Disco lights app: Using buttons and connecting actions to buttons in the code.

Chapter 6. Body mass index (BMI) calculator app: Using input boxes, performing calculations and displaying the results on the screen.

Chapter 7. Simple die roller app: Using random number generator functions, including image sets in your project, displaying images on the screen and changing the displayed image using Swift code.

Chapter 8. Exercise calorie calculator app: Using global variables, creating tabbed apps and utilizing segmented controls.

Chapter 9. Show my location app: Adding a map object to your app, setting required permissions, accessing GPS device and showing real time location on the map.

Chapter 10. S.O.S. sender app: Adding SMS functionality, setting required permissions and sending real time location using SMS.

Chapter 11. Bounce the ball game: Basics of SpriteKit that is used to develop 2D iOS games, adding objects to the game, sensing screen touches, moving game objects according to touches, combining all these and more to develop a complete 2D game.

This book includes 212 figures and 101 code snippets that are used to explain app development concepts clearly. Full resolution colour figures and project files can be viewed and downloaded from the the book's companion website: ios-swift.net.

商品描述(中文翻譯)

本書介紹了使用最新的Swift 3編程語言、Xcode 8和iOS 10 SDK設計iOS 10應用程序的基礎知識。

作者假設讀者對應用程序開發沒有經驗。本書從安裝所需的編程環境和設置模擬器開始。然後,逐步開發最簡單的“Hello World”應用程序。在下一章中,提供了Swift 3編程語言的基礎知識,並附有實際示例。書中清晰地提供了屏幕截圖和代碼片段,以指導讀者。在Swift講座之後,本書分別在不同章節中開發了7個完整的應用程序(包括2D遊戲)。隨著讀者跟隨示例應用程序的開發,他/她將學習設計用戶界面,將界面對象連接到代碼,開發高效的Swift代碼,並在模擬器和實際設備上測試應用程序。

本書的章節和內容如下:

第1章:介紹:iOS應用程序開發的一般信息和步驟。

第2章:設置開發環境:安裝Xcode,設置簽名身份,查看/添加模擬器和實際設備。

第3章:測試驅動-“Hello World”應用程序:創建新的Xcode項目,添加和定位用戶界面對象,構建項目,在模擬器和實際設備上運行開發的應用程序。

第4章:Swift編程語言:Swift 3中的變量,常量,可選項,數組,字典,集合,if-else和switch-case決策語句,for和while循環,函數,類,對象和繼承。每個概念都有代碼示例和屏幕截圖逐步清晰地解釋。

第5章:Disco燈應用程序:使用按鈕並將操作連接到代碼中的按鈕。

第6章:體重指數(BMI)計算器應用程序:使用輸入框進行計算並在屏幕上顯示結果。

第7章:簡單的骰子機應用程序:使用隨機數生成器函數,在項目中包含圖像集,顯示圖像並使用Swift代碼更改顯示的圖像。

第8章:運動熱量計算器應用程序:使用全局變量,創建分頁應用程序並利用分段控制。

第9章:顯示我的位置應用程序:將地圖對象添加到應用程序中,設置所需權限,訪問GPS設備並在地圖上顯示實時位置。

第10章:S.O.S.發送器應用程序:添加短信功能,設置所需權限並使用短信發送實時位置。

第11章:彈跳球遊戲:介紹用於開發2D iOS遊戲的SpriteKit基礎知識,將對象添加到遊戲中,感應屏幕觸摸,根據觸摸移動遊戲對象,結合所有這些內容開發完整的2D遊戲。

本書包含212個圖片和101個代碼片段,用於清晰解釋應用程序開發概念。可以從本書的配套網站ios-swift.net查看和下載全分辨率彩色圖片和項目文件。