swift的类型系统

一、具体类型

基本类型:

class struct enum

组合类型:

Tuples function

容器类型:

struct<——

二、抽象类型:

protocol

typeclass

Generic

原文地址:https://www.cnblogs.com/feng9exe/p/10980467.html