This question is locked. New answers and comments are not allowed.
Hi,
I have a custom data type with one of the fields being of type "Object". I am trying to save a dictionary of type [String: String] and thought that an Object type would be the right one to choose. Indeed, in the .NET SDK, I just parse it as a JSON object and everything works fine. But in the iOS SDK, the return type from the server is of type "id" and I can't do anything with it - when I try to so much as access it, I get an "exc_bad_access(code=exc_i386_gpflt)" exception. Casting it doesn't work either.
I am using Swift for my application.
Thanks in advance for any help !
Regards,
Ivaylo
I have a custom data type with one of the fields being of type "Object". I am trying to save a dictionary of type [String: String] and thought that an Object type would be the right one to choose. Indeed, in the .NET SDK, I just parse it as a JSON object and everything works fine. But in the iOS SDK, the return type from the server is of type "id" and I can't do anything with it - when I try to so much as access it, I get an "exc_bad_access(code=exc_i386_gpflt)" exception. Casting it doesn't work either.
I am using Swift for my application.
Thanks in advance for any help !
Regards,
Ivaylo