要判斷是符合那一種條件,最簡單的就是使用switch-case 的方式囉。 var directionToHead = .south switch directionToHead { case .north: print("Lots of ...
確定! 回上一頁