- 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.
推薦閱讀
- 我們都是數(shù)據(jù)控:用大數(shù)據(jù)改變商業(yè)、生活和思維方式
- ETL數(shù)據(jù)整合與處理(Kettle)
- 虛擬化與云計算
- Microsoft Power BI數(shù)據(jù)可視化與數(shù)據(jù)分析
- AI時代的數(shù)據(jù)價值創(chuàng)造:從數(shù)據(jù)底座到大模型應(yīng)用落地
- 科研統(tǒng)計思維與方法:SPSS實戰(zhàn)
- Python數(shù)據(jù)分析與數(shù)據(jù)化運營
- 區(qū)塊鏈技術(shù)應(yīng)用與實踐案例
- MySQL DBA修煉之道
- 數(shù)據(jù)產(chǎn)品經(jīng)理寶典:大數(shù)據(jù)時代如何創(chuàng)造卓越產(chǎn)品
- Hands-On Java Deep Learning for Computer Vision
- 敏捷數(shù)據(jù)分析工具箱:深入解析ADW+OAC
- 大數(shù)據(jù)SQL優(yōu)化:原理與實踐
- 數(shù)據(jù)挖掘:實用案例分析
- 大學(xué)計算機(jī)應(yīng)用基礎(chǔ)上機(jī)實驗指導(dǎo)(微課版)