You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the chat SDK, there is some code to copy a SKYRecord and create a custom subclass (such as SKYMessage. I suggest that we make ``SKYRecordDeserializer deserializer]` to return a singleton object and SDK user can register subclass to be used for deserialization when the deserializer encounter certain types:
id der = [SKYRecordDeserializer deserializer];
[der registerRecordClass:[SKYMessage class] forType:@"message"];
id record = [der recordWithDictionary:recordDict];
[record isKindOfClass:[SKYMessage class]]; // true
The text was updated successfully, but these errors were encountered:
From the chat SDK, there is some code to copy a
SKYRecord
and create a custom subclass (such asSKYMessage
. I suggest that we make ``SKYRecordDeserializer deserializer]` to return a singleton object and SDK user can register subclass to be used for deserialization when the deserializer encounter certain types:The text was updated successfully, but these errors were encountered: