- Hands-On Design Patterns with Swift
- Florent Vilmart Giordano Scalzo Sergio De Simone
- 178字
- 2021-07-02 14:45:13
Summary
In this chapter, we have explored the Swift Standard Library, Dispatch, and a piece of Foundation with URLSession. You should now be comfortable with basic types, containers (such as dictionaries and arrays), modern enumeration, mapping, and reducing techniques. With Dispatch, you now have a good understanding of the differences between threads and queues, how serial and concurrent queues can be used to effectively make your programs more performant (but also unsafe), and ultimately, how to use synchronization techniques to organize the execution of your programs in a safe manner. Finally, we scratched the surface of the Codable protocols and applied them to URLSession in a generic way. This will allow you to write a type-safe client with excellent error handling and resilience against malformed responses.
Not all projects are written solely in Swift; many still share implementations with Objective-C. Now that you have a good grasp of the Standard Library, in the next chapter, we will look at all of the kinks and quirks involved with working in a mixed-code base.
- 我們都是數據控:用大數據改變商業、生活和思維方式
- 數據之巔:數據的本質與未來
- Effective Amazon Machine Learning
- Redis應用實例
- Python廣告數據挖掘與分析實戰
- UDK iOS Game Development Beginner's Guide
- Microsoft Power BI數據可視化與數據分析
- 一個64位操作系統的設計與實現
- gnuplot Cookbook
- 新基建:數據中心創新之路
- 云數據中心網絡與SDN:技術架構與實現
- 大數據技術原理與應用:概念、存儲、處理、分析與應用
- Hands-On System Programming with C++
- 數據賦能
- 云原生架構:從技術演進到最佳實踐