publish via swift