practice demo use swift