swift demo