目錄(84章)
倒序
- 封面
- 版權(quán)頁
- 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
推薦閱讀
- SpringMVC+MyBatis快速開發(fā)與項目實戰(zhàn)
- 大學(xué)計算機基礎(chǔ)(第2版)(微課版)
- 精通Linux(第2版)
- Python Data Analysis Cookbook
- jQuery炫酷應(yīng)用實例集錦
- Linux C編程:一站式學(xué)習(xí)
- 編程與類型系統(tǒng)
- ASP.NET程序開發(fā)范例寶典
- Julia High Performance(Second Edition)
- Clojure Polymorphism
- Angular Design Patterns
- 征服C指針(第2版)
- Python網(wǎng)絡(luò)爬蟲從入門到實踐
- C語言解惑:指針、數(shù)組、函數(shù)和多文件編程
- 算法學(xué)習(xí)與應(yīng)用從入門到精通
- OpenStack Networking Cookbook
- Python程序設(shè)計教程
- Python學(xué)習(xí)手冊(原書第4版)
- Flink大數(shù)據(jù)分析實戰(zhàn)
- Getting Started with Spiceworks
- PLC編程入門及工程實例
- Mastering Service Mesh
- 跟老男孩學(xué)Linux運維:核心系統(tǒng)命令實戰(zhàn)
- PHP程序設(shè)計
- 前端程序員面試筆試真題庫
- Java RESTful Web Service實戰(zhàn)(第2版)
- Visual Basic實例精通
- 明解Python
- MEAN Web Development
- MATLAB小波分析超級學(xué)習(xí)手冊