switch case

switch(表达式){
case AnimationStatus.completed:
代码块;
break;
default:
代码块;
}


switch(animationController.status){

case AnimationStatus.completed:
animationController.reverse();
break;
default:
animationController.forward();
}


 
posted @ 2019-06-07 13:29  braveheart007  阅读(133)  评论(0编辑  收藏  举报