Mastering Swift 4 Fourth Edition

Jon Hoffman

買這商品的人也買了...

相關主題

商品描述

Key Features

  • Discover the new features and improvements to Swift 4
  • Get to grips with advanced design patterns and techniques to write smarter, cleaner Swift code
  • Become a more fluent Swift developer and build powerful, impressive iOS, OS X and Linux applications.

Book Description

Swift is the definitive language of Apple development today. It's a vital part of any iOS and OS X developer's skillset, helping them to build the most impressive and popular apps on the App Store-the sort of apps that are essential to iPhone and iPad users every day. With version 4.0, the Swift team has added new features to improve the development experience-making it easier to get the results you want and customers expect.

Inside, you'll find the key features of Swift 4.0 and quickly learn how to use the newest updates to your development advantage. From Objective-C interoperability to ARC, to closures and concurrency, this advanced Swift guide will develop your expertise and make you more fluent in this vital programming language.

We give you in-depth knowledge of some of the most sophisticated elements of Swift development including protocol extensions, error-handling, design patterns, and concurrency, and guide you on how to use and apply them in your own projects. You'll see how to leverage the power of Protocol-Oriented program to write cleaner and easier to manage code. We will also show you how Apple uses Protocol-Oriented programming techniques in the Swift standard library.

What you will learn

  • Dive into the core components of Swift 4.0, including operators, collections, control flow, and functions
  • Create and use classes, structures, and enums
  • Understand protocol-oriented design and see how it can help you write better code
  • Develop a practical understanding of subscripts, optionals, and closures
  • Add concurrency to your applications using Grand Central Dispatch
  • Implement Generics and Closures to write very flexible and reusable codes
  • Make use of error handling and the new availability feature to write safer code

商品描述(中文翻譯)

主要特點


  • 探索 Swift 4 的新功能和改進

  • 掌握高級設計模式和技巧,寫出更智能、更乾淨的 Swift 代碼

  • 成為一個更流利的 Swift 開發者,構建強大、令人印象深刻的 iOS、OS X 和 Linux 應用程序。

書籍描述

Swift 是當今蘋果開發的定義性語言。它是任何 iOS 和 OS X 開發者技能組合中不可或缺的一部分,幫助他們構建最令人印象深刻和受歡迎的應用程序,這些應用程序對於 iPhone 和 iPad 用戶每天都是必不可少的。在 4.0 版本中,Swift 團隊新增了一些功能,以改善開發體驗,使您更容易獲得您想要的結果,並滿足客戶的期望。

在這本書中,您將找到 Swift 4.0 的主要特點,並迅速學習如何將最新的更新應用於您的開發中。從 Objective-C 的互操作性到 ARC,再到閉包和並發性,這本高級 Swift 指南將提升您的專業知識,使您在這個重要的編程語言上更加流利。

我們將深入了解 Swift 開發中一些最複雜的元素,包括協議擴展、錯誤處理、設計模式和並發性,並指導您如何在自己的項目中使用和應用它們。您將看到如何利用面向協議的編程來編寫更乾淨、更易於管理的代碼。我們還將向您展示蘋果如何在 Swift 標準庫中使用面向協議的編程技術。

您將學到什麼


  • 深入了解 Swift 4.0 的核心組件,包括運算符、集合、控制流和函數

  • 創建和使用類、結構和枚舉

  • 理解面向協議的設計,並了解它如何幫助您編寫更好的代碼

  • 實踐理解下標、可選值和閉包

  • 使用 Grand Central Dispatch 將並發性添加到您的應用程序中

  • 實現泛型和閉包,編寫非常靈活和可重用的代碼

  • 利用錯誤處理和新的可用性功能編寫更安全的代碼