- // Requires two passes to deal with inter-mapping references. First make
- // an empty mapping for each serialized mapping. Then, deserialize the
- // data pointing to the empty mappings. Then merge that data back into
- // its equivalent empty one, which is the one we finally use.
- for (NSDictionary *storedMapping in storedMappings) {
- NJMapping *mapping = [[NJMapping alloc] initWithName:storedMapping[@"name"]];
- [newMappings addObject:mapping];
- }
-