以下を使用して属性マッピングを追加しています
RKEntityMapping *entityMapping = [RKEntityMapping mappingForEntityForName:@"Timeline" inManagedObjectStore:managedObjectStore];
[entityMapping addAttributeMappingsFromDictionary:@{@"title": @"title"}];
しかし、attachments.title マッピングを追加する方法は? attachments は辞書の配列です。添付ファイルのタイトルにアクセスしたい。
[
{
"category": @"tech",
"attachments": [
{
"title": "Mac Home",
"media": [
{
"sizes": {
"small": [
48,
48
]
},
"type": "image"
}
],
"type": "Group",
}
],
"title": "Joined Group",
}
]