I’m working on converting an existing Swift project, and running across a few issues with enums…
This first one wouldn’t compile with implied String values, but insisted that I write out explicit values. Simple fix, but a bit annoying coming from Xcode’s Swift compiler:
I have no clue what this is supposed to mean…
I get these errors in the build log (/Users/user/ directory obfuscated):
~/Documents/24by7/JSONData.swift(23,10): error E1: identifier expected, got "Type"
~/Documents/24by7/JSONData.swift(23,10): error E375: One of "case", "func", "subscript", "var", "typealias", "init" expected, got "Type"
~/Documents/24by7/JSONData.swift(23,10): error E1: closing bracket expected, got "Type"
~/Documents/24by7/JSONData.swift(23,10): error E504: Semicolon (;) required to separate two statements on the same line
~/Documents/24by7/JSONData.swift(23,10): error E477: Declaration expected
~/Documents/24by7/JSONData.swift(23,10): error E1: identifier expected, got "Type"
~/Documents/24by7/JSONData.swift(23,10): error E375: One of "case", "func", "subscript", "var", "typealias", "init" expected, got "Type"
~/Documents/24by7/JSONData.swift(23,10): error E1: closing bracket expected, got "Type"
~/Documents/24by7/JSONData.swift(23,10): error E504: Semicolon (;) required to separate two statements on the same line
~/Documents/24by7/JSONData.swift(23,10): error E477: Declaration expected
Assuming it’s a big of some kind…?