What are ways of using this enumeration with associated values?

var b: Barcode
b = Barcode.upc(1, 2, 3)
var b: Barcode
b = .upc(1, 2, 3, 4)
var b: Barcode
b = Barcode.qr("1234")
var b = .qr("1234")

Impressive! We need to provide an associated value when we initialize b; the dot syntax works only after b is declared.

Oh, snap! We need to provide an associated value when we initialize b; the dot syntax works only after b is declared.