Enum element with associated values must have at least one associated value
Simply remove the brackets () after the case:
enum NetworkService {
case lookUp(type: String)
case allLookUps
}
Simply remove the brackets () after the case:
enum NetworkService {
case lookUp(type: String)
case allLookUps
}