目錄(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
推薦閱讀
- Python自動化運維快速入門
- 微服務設計原理與架構
- Java加密與解密的藝術(第2版)
- Python Game Programming By Example
- Learning AWS Lumberyard Game Development
- Learning Informatica PowerCenter 10.x(Second Edition)
- YARN Essentials
- Web全棧工程師的自我修養(yǎng)
- Spring Boot Cookbook
- Unity Character Animation with Mecanim
- 零基礎輕松學C++:青少年趣味編程(全彩版)
- SignalR:Real-time Application Development(Second Edition)
- Mastering Android Studio 3
- C語言程序設計實踐
- 數(shù)據(jù)結構與算法詳解
- JavaScript高級程序設計(第4版)
- MATLAB從入門到精通
- Python接口自動化測試
- 超簡單:用Python讓Excel飛起來·核心模塊語法詳解篇
- C/C++實踐進階之道:寫給程序員看的編程書
- MariaDB Cookbook
- HTML 5移動平臺的Java Web實用項目開發(fā)
- 軟件開發(fā)實踐:項目驅動式的Java開發(fā)指南
- Building Interactive Queries with LINQPad
- QGIS Blueprints
- Oracle 12c數(shù)據(jù)庫入門與應用
- ASP.NET Core 2 and Angular 5
- 程序員2007精華本(下)
- 滾雪球學Python
- Kotlin Programming Cookbook