Due to some optimizations, in my code am storing objects by archiving them myself and then calling setPrimitiveData: forKey: withPrimitiveMetadata: instead of setObject:...
This leads to one problem when I use views, where none of the the groupingBlock get called (Unless I change the version)
I understand that you need an 'object' to call the YapCollectionsDatabaseViewGroupingWithObjectBlock, but when using setPrimitiveData: grouping blocks of type
YapCollectionsDatabaseViewGroupingWithKeyBlock and YapCollectionsDatabaseViewGroupingWithMetadataBlock should be called.
As a result, newly inserted data never shows up while enumerating the group.
Due to some optimizations, in my code am storing objects by archiving them myself and then calling setPrimitiveData: forKey: withPrimitiveMetadata: instead of setObject:...
This leads to one problem when I use views, where none of the the groupingBlock get called (Unless I change the version)
I understand that you need an 'object' to call the YapCollectionsDatabaseViewGroupingWithObjectBlock, but when using setPrimitiveData: grouping blocks of type
YapCollectionsDatabaseViewGroupingWithKeyBlock and YapCollectionsDatabaseViewGroupingWithMetadataBlock should be called.
As a result, newly inserted data never shows up while enumerating the group.