Swift enums allow us to define a set of values that the enum can take on. ... toMove(.right) //this will print out “you moved to the right”.
確定! 回上一頁