Not quite 60 fps, but getting there! Layout is no longer CPU bound.
Fixes Issue #14
Fixes Issue #11
Like when you scroll to top. Also, highlighting/dequeueing are marginally faster
New Delegate Methods: - spreadView:willSelectCellForSelection: - spreadView:didSelectCellForRowAtIndexPath:forColumnAtIndexPath: New Properties: selectionMode allowsSelection allowsMultipleSelection Notes: Selection Modes still don't do anything. I'll be adding visible selection in the next commit I don't like how you can get a -1 index for headers. Will probably disable for headers, or make celebrate delegates.
Includes: - numberOfRowSections - numberOfRowsInRowSection: - numberOfColumnSections - numberOfColumnsInColumnSection: - rectForRowSection:columnSection: - cellRectForRowAtIndexPath:forColumnAtIndexPath:
- spreadView:willDisplayCell:for… quartet of methods are now all called - spreadView:title… triplet of methods are now called - spreadView:objectValue… is now called default…CellClass properties can now all be set on a spreadView (raises NSInvalidArgumentException if now a subclass of MDSpreadViewCell) - spreadView:cellForRowAtIndexPath:forColumnAtIndexPath no longer marked as required More efficient internal reloading of data on mass property changes Got rid of _dataSource && … and self.delegate && … checks
…ill no longer be prompted to provide cell information for impossible ranges.
Also fixed up selection API names a bit Removed some more classes Added MDSortDescriptor for selection support
Also updated the license.
Header cell generation can *really* be optimized though…