目錄(84章)
倒序
- 封面
- 版權頁
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Exploring Swift's Power and Performance
- Swift speed
- Welcome to Swift
- Swift's features and benefits
- Swift interoperability
- Performance – meaning and key metrics
- Summary
- Chapter 2. Making a Good Application Architecture in Swift
- Making a Swift application
- The differences between variables and constants
- Immutability
- Value types and immutability
- Representing the absence of values with optionals
- Functional programming
- Generics
- Safety
- Summary
- Chapter 3. Testing and Identifying Slow Code with the Swift Toolkit
- REPL
- Playgrounds
- LLDB
- REPL in Xcode
- Console logs
- Performance measuring in unit tests
- Instruments
- A reminder
- Summary
- Chapter 4. Improving Code Performance
- Understanding performance optimization
- Optimization checklist
- Swift code compilation
- Constants and variables
- Method calls
- Intelligent code
- Improving speed
- Value objects and reference objects
- Swift arrays and unsafe C arrays
- Avoiding Objective-C
- Summary
- Chapter 5. Choosing the Correct Data Structure
- An overview of data structures
- Collection types
- Swift standard library collections
- Collection memory allocation
- The CollectionType protocol methods
- Accelerate and Surge
- Other collections
- Summary
- Chapter 6. Architecting Applications for High Performance
- Achieving high performance
- Concurrency overview
- Designing asynchronous code
- Avoiding state
- Divide and conquer
- Controlling the lifetime
- Summary
- Chapter 7. The Importance of Being Lazy
- The lazy mindset
- Lazy loading
- Lazy collections and evaluation
- Summary
- Chapter 8. Discovering All the Underlying Swift Power
- How Swift is so fast
- Swift command line tools
- The Swift compiler
- The Swift compilation process and swiftc
- Analyzing executable files
- Summary
- Final thoughts
- Index 更新時間:2021-08-05 16:36:37
推薦閱讀
- DBA攻堅指南:左手Oracle,右手MySQL
- Mastering Adobe Captivate 2017(Fourth Edition)
- 自己動手寫Java虛擬機
- Apache Spark 2.x Machine Learning Cookbook
- PaaS程序設計
- Mastering Articulate Storyline
- TestNG Beginner's Guide
- 數據結構與算法JavaScript描述
- Java Web開發技術教程
- MySQL數據庫基礎實例教程(微課版)
- Vue.js應用測試
- 軟件測試綜合技術
- Android Sensor Programming By Example
- Mastering ASP.NET Core 2.0
- Java多線程并發體系實戰(微課視頻版)
- TypeScript全棧開發
- JavaEE架構與程序設計
- Koa與Node.js開發實戰
- Socket.IO Cookbook
- 可視化H5頁面設計與制作:Mugeda標準教程
- jMonkeyEngine 3.0 Beginner’s Guide
- 數據庫技術及應用教程上機指導與習題(第2版)
- 大話C語言
- Learning C# by Developing Games with Unity 3D Beginner's Guide
- Apple Watch極速開發
- Go底層原理與工程化實踐
- C/C++程序設計:計算思維的運用與訓練
- Java設計模式(第2版)
- Akka Cookbook
- Beginning C# 7 Hands-On:Advanced Language Features