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.
2 parents 4627231 + 9b3648d commit be9a637Copy full SHA for be9a637
.gitignore
@@ -10,6 +10,7 @@
10
*.perspectivev3
11
!default.perspectivev3
12
xcuserdata
13
+xcshareddata
14
profile
15
*.moved-aside
16
DerivedData
Classes/JSONAPIResourceParser.m
@@ -56,7 +56,7 @@ @implementation JSONAPIResourceParser
56
NSString *type = dictionary[@"type"] ?: @"";
57
JSONAPIResourceDescriptor *descriptor = [JSONAPIResourceDescriptor forLinkedType:type];
58
59
- NSObject <JSONAPIResource> *resource = [[descriptor resourceClass] alloc];
+ NSObject <JSONAPIResource> *resource = [[[descriptor resourceClass] alloc] init];
60
[self set:resource withDictionary:dictionary];
61
62
return resource;
0 commit comments