ShoeConverter in swift