in Swift, what does this specific syntax mean?
问题 I've been attempting to follow some iOS Swift tutorials for connecting to Parse.com codementor.io tutorial: loginViewController.fields = .UsernameAndPassword | .LogInButton | .PasswordForgotten | .SignUpButton | .Facebook | .Twitter makeschool tutorial loginViewController.fields = [.UsernameAndPassword, .LogInButton, .SignUpButton, .PasswordForgotten, .Facebook] I assume the former is Switch 1.x, and thelatter is Swift 2. From context they appear to be doing the same thing, but I haven't yet