- Hands-On Design Patterns with Swift
- Florent Vilmart Giordano Scalzo Sergio De Simone
- 84字
- 2021-07-02 14:45:01
Tuples, type aliases, and generics
This chapter would not be complete if we didn't address some very useful features from Swift. Tuples are very useful types that let you return multiple objects as one, without a strongly typed wrapper. Aliases let you quickly define simple type shortcuts. Finally, we'll cover the basics of generics. While generics could be covered in a whole book, we'll just scratch the surface of their syntax, features, and limits, as we'll make use of them extensively throughout this book.
推薦閱讀
- 我們都是數據控:用大數據改變商業、生活和思維方式
- 程序員修煉之道:從小工到專家
- Greenplum:從大數據戰略到實現
- Microsoft SQL Server企業級平臺管理實踐
- Libgdx Cross/platform Game Development Cookbook
- Learning JavaScriptMVC
- Hadoop與大數據挖掘(第2版)
- OracleDBA實戰攻略:運維管理、診斷優化、高可用與最佳實踐
- Hadoop 3.x大數據開發實戰
- Proxmox VE超融合集群實踐真傳
- LabVIEW 完全自學手冊
- 跨領域信息交換方法與技術(第二版)
- 數字IC設計入門(微課視頻版)
- 中文版Access 2007實例與操作
- Cognitive Computing with IBM Watson