We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dfd93e commit a6a35f7Copy full SHA for a6a35f7
SHModelObject/SHModelObject/SHRealmObject.m
@@ -316,7 +316,7 @@ - (void)serializeValue:(id)value withKey:(id)key {
316
if (isSHRealmObject) {
317
318
NSString *propName = [ivarName substringFromIndex:1];
319
- id realmArray = objc_msgSend(self, NSSelectorFromString(propName));
+ id realmArray = ((id (*)(id, SEL))objc_msgSend)(self, NSSelectorFromString(propName));
320
for (id item in value) {
321
// item should be a dictionary
322
if ([item isKindOfClass:[NSDictionary class]]) {
0 commit comments