Currently, the section grouping keypath must reference a value on the section managed object. This change allows the section grouping keypath to be a keypath on the section managed object.
Example
Currently, using the sectionGroupingKeyPath section.uuid is valid because uuid is a value on the section managed object.
However, if section.uuid was section.subsection.uuid an error would be thrown because we would attempt to find the value uuid on the section managed object. Instead, we now look for the keypath subsection.uuid on the section managed object.
Currently, the section grouping keypath must reference a value on the section managed object. This change allows the section grouping keypath to be a keypath on the section managed object.
Example
Currently, using the sectionGroupingKeyPath
section.uuid
is valid becauseuuid
is a value on the section managed object.However, if
section.uuid
wassection.subsection.uuid
an error would be thrown because we would attempt to find the valueuuid
on the section managed object. Instead, we now look for the keypathsubsection.uuid
on the section managed object.