Swift中结合使用枚举与Switch

 

 

定义:

image

 

 

 

用法:

 

image

posted @ 2015-05-11 10:30  有奈了  阅读(373)  评论(0编辑  收藏  举报