diff --git a/Classes/MDSpreadView.h b/Classes/MDSpreadView.h index 02a0c18..dba4a6b 100644 --- a/Classes/MDSpreadView.h +++ b/Classes/MDSpreadView.h @@ -175,8 +175,8 @@ extern NSString *MDSpreadViewSelectionDidChangeNotification __attribute__((unava NSMutableArray *columnSections; NSMutableArray *rowSections; - UIView *dummyView; - UIView *dummyViewB; +// UIView *dummyView; +// UIView *dummyViewB; CGSize dequeuedCellSizeHint; MDIndexPath *dequeuedCellRowIndexHint; diff --git a/Classes/MDSpreadView.m b/Classes/MDSpreadView.m index 9a41cc1..ff7203d 100644 --- a/Classes/MDSpreadView.m +++ b/Classes/MDSpreadView.m @@ -3922,12 +3922,10 @@ - (void)_touchesEndedInCell:(MDSpreadViewCell *)cell MDSpreadViewSelectionMode resolvedSelectionMode = MDSpreadViewSelectionModeAutomatic; - BOOL override = NO; MDSortDescriptor *sortDescriptorPrototype = nil; if (_autoAllowSortableHeaderSelection) { if ([(MDSpreadViewHeaderCell *)cell respondsToSelector:@selector(sortDescriptorPrototype)] && [(MDSpreadViewHeaderCell *)cell sortDescriptorPrototype]) { sortDescriptorPrototype = [(MDSpreadViewHeaderCell *)cell sortDescriptorPrototype]; - override = YES; resolvedSelectionMode = MDSpreadViewSelectionModeCell + sortDescriptorPrototype.sortAxis; }