Swift beta 3 syntax update