MMRecord
MMRecord copied to clipboard
MMRecordAttributeAlternateNameKey is ignored if the value can be found using the default key
For example:
{id: 123, name: "outer", inner: { id: 456, name: "inner" } }
Although MMRecord only provides default access to the outer dictionary, I would really like both the name and ID of the object represented by the inner dictionary. While MMRecordAttributeAlternateNameKey
will work as expected for inner.name
, if I specify inner.id
I will get a value of 123 instead of 456.