Publish initialization in Swift