- 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.
- PyTorch深度學習實戰:從新手小白到數據科學家
- SQL入門經典(第5版)
- App+軟件+游戲+網站界面設計教程
- 從0到1:數據分析師養成寶典
- Python數據分析、挖掘與可視化從入門到精通
- 云計算服務保障體系
- Access 2016數據庫技術及應用
- 數據庫系統原理及應用教程(第4版)
- Hadoop大數據實戰權威指南(第2版)
- Python金融實戰
- Python 3爬蟲、數據清洗與可視化實戰
- Microsoft Dynamics NAV 2015 Professional Reporting
- 數據挖掘與機器學習-WEKA應用技術與實踐(第二版)
- Arquillian Testing Guide
- 數據會說話:活用數據表達、說服與決策