Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from pavankataria/ScanningDataType
Improved sorting algorithm - Automatically Infer the type of the data passed in! Summary: Improves the sorting algorithm for columns by scanning the data passed into the SwiftDataTable class and automatically infer the type of the data. Changes Cell Row Representable to use A new DataTableValueType that moves away from the [[String]] row construction. Technical: original initialiser has been moved to a convenience one. users can still inject [[String]] into the SwiftDataTable class: [[String]]. Adds a new DataTableValueType. Adds a string representation method for DataTableValueType. Refactors Data Cell and Data CellViewModel to incorporate DataCellTypeValue 724a6f0 Adds a comparable implementation for DataTableValueType 29616b2 & c12ea98 Adds optional initialiser to DataTableValueType to automatically infer the right value type. f3d9d2c Improves the type detection algorithm for DataTableValueType enum b0254e8
- Loading branch information