Expression following 'return' is treated as an argument of the 'return' 2022-08-25

swift 5    return 后代码块 仍然会继续执行, 需要注意. 用 return;  return() 强制结束就好

你可能感兴趣的:(Expression following 'return' is treated as an argument of the 'return' 2022-08-25)