Swift Protocol-Oriented Programming -- Fourth Edition
暫譯: Swift 協定導向程式設計(第四版)
Hoffman, Jon
- 出版商: Packt Publishing
- 出版日期: 2019-06-30
- 售價: $1,040
- 貴賓價: 9.5 折 $988
- 語言: 英文
- 頁數: 224
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1789349028
- ISBN-13: 9781789349023
-
相關分類:
Apple Developer
立即出貨 (庫存=1)
買這商品的人也買了...
-
$960Professional Adobe Flex 3 (Paperback)
-
$940$700 -
$680$578 -
$480$379 -
$520$411 -
$450$356 -
$650$507 -
$780$616 -
$680$537 -
$1,580$1,501 -
$352PWA 實戰 : 面向下一代的 Progressive Web APP
-
$594$564 -
$403Elasticsearch 實戰 (Elasticsearch in Action)
-
$1,280$1,088 -
$480$379 -
$680$578 -
$505iOS 性能優化實戰
-
$480$379 -
$720$612 -
$550$429 -
$454九陰真經 iOS黑客攻防秘籍
-
$580$458 -
$331Swift 從入門到精通
-
$1,040$988 -
$1,990$1,891
商品描述
Learn |
|
---|---|
About |
Protocol-oriented programming is an incredibly powerful concept at the heart of Swift's design. Swift's standard library was developed using POP techniques, generics, and first-class value semantics; therefore, it is important for every Swift developer to understand these core concepts and take advantage of them. The fourth edition of this book is improved and updated to the latest version of the Swift programming language. This book will help you understand what protocol-oriented programming is all about and how it is different from other programming paradigms such as object-oriented programming. This book covers topics such as generics, Copy-On-Write, extensions, and of course protocols. It also demonstrates how to use protocol-oriented programming techniques via real-world use cases. By the end of this book, you will know how to use protocol-oriented programming techniques to build powerful and practical applications.
|
Features |
|
商品描述(中文翻譯)
更多資訊
學習內容
- 了解物件導向程式設計與協定導向程式設計之間的差異
- 理解為何值類型應優先於參考類型
- 深入探討協定、協定繼承、協定組合及協定擴展
- 學習如何在自訂值類型中實現 COW(Copy-On-Write)
- 理解 Swift 中的記憶體管理運作方式及如何避免常見的陷阱
- 以協定為起點設計應用程式,而非實作
關於本書
協定導向程式設計是 Swift 設計核心中一個極為強大的概念。Swift 的標準庫是使用 POP 技術、泛型和一級值語義開發的,因此每位 Swift 開發者都應理解這些核心概念並加以利用。本書的第四版已改進並更新至最新版本的 Swift 程式語言。
本書將幫助您理解協定導向程式設計的本質,以及它與其他程式設計範式(如物件導向程式設計)的不同之處。本書涵蓋的主題包括泛型、Copy-On-Write、擴展,當然還有協定。它還通過實際案例展示如何使用協定導向程式設計技術。
在本書結束時,您將知道如何使用協定導向程式設計技術來構建強大且實用的應用程式。
特色
- 在您的應用程式中利用協定導向程式設計的力量
- 利用泛型創建非常靈活的框架
- 學習如何以協定導向的方式實現常見設計模式