I think I know why the compiler is mad. Protocols can't be encoded/ decoded automatically because the complier can't know what the actual conforming object is.
Don't have an account? You can sign up here