[Solved] Expected type after as
as? is use to cast one type to another, you are asking Xcode to cast response to another type, but haven’t told it what to cast it to. As the error says, its expecting to see a type after the keyword as 2 solved Expected type after as