Swift中结合使用枚举与Switch

定义:

image

用法:

image

原文地址:https://www.cnblogs.com/zeyang/p/4493846.html