swift的类型系统

一、具体类型

基本类型:

class struct enum

 

组合类型:

Tuples function

 

容器类型:

struct<——

 

二、抽象类型:

protocol

typeclass

Generic

posted @ 2019-06-05 16:41  zzfx  阅读(229)  评论(0编辑  收藏  举报