- N/A
- Overrote the UICollectionView didDeselectItem delegate function to use the
item(atIndexPath:)
which is also overrideable
- N/A
- N/A
- Overrote the
numberOfSections(in:)
and thecollectionView(_: numberOfItemsInSection:)
to use the separately overrideable functions. This allows for easier subclassing with varying dataProvider setups
- N/A
- N/A
- Made some functions more open, so they can be overrideable
- Overrote the didSelect function to use the
item(at:)
, which is also overrideable itself
- N/A
- N/A
- N/A
- Fixed issue where the
SectionableCollectionDataSource
was registering the Generic versions of the cell and supplementary view models. This resulted in crashes in subclasses about not registering cells before dequeueing them.
- N/A
- Made the
reset(keepingStructure:shouldReloadCollectionView:)
function open, so it can be overriden - Made the
numberOfItems(in:)
function open so that it can be overriden
- N/A
- N/A
- Added an optional boolean argument to the
reset(keepingStructure:)
function to optionally reload the underlying UICollectionView when the data is cleared. - Made the DataSourceProvider open, so it can be subclassed.
- Exposed the
provider
variable within the dataSource, so its operations can be used in overriden CRUD functions without performing any batch updates or reloading. - Fixed an issue where the
BaseSupplementarySectionModel
's header and footer properties had been using the generic protocol as its type rather than theBaseCollectionSupplementaryViewModel
- N/A
- Exposed functions within the DataSourceProvider to the ComposableDataSource for getting the cell and supplementary view model items.
- N/A
- N/A
- N/A
- Replaced uses of
count == 0
orcounf > 0
with simply checking if an arrayisEmpty
. According to sources, this is a more efficient approach
- Fixed issue where empty data source view does not supply after first time
- Links to more documentation
- Updated README
- Added link in README to more documentation elsewhere
- Renamed GenericSupplementarySectionModel to BaseSupplementarySectionModel
- Renamed BaseComposableSupplementaryViewModel to BaseCollectionSupplementaryViewModel
- Fixed issue where empty data source view does not supply after first time
- N/A
- N/A
- Fixed bug where calling
DataProvider.updateSections(...)
would not update the actual backing-store of cell view models
- N/A
- Replaced builder pattern function names with ones similar to original delegate function names
- N/A
- Added Table of Contents to README
- Updated to latest version of Celestial
- Downgraded minimum deployment target from iOS 11 to iOS 10
- Updated README
- Added navigation buttons to test CRUD
- Replaced generic protocols with Base protocols to be used ComposableCollectionDataSource
- Renamed GenericCollectionViewCell and GenericCollectionReusableView to BaseComposableCollectionViewCell and BaseComposableCollectionReusableView
- N/A
- Added function for deleting sections
- Adding function for inserting new section with cell items and supplementary section items
- Replaced return value of generic protocol to return ComposableCollectionDataSource instead. Type casting the final builder pattern function’s return value to the desired dataSource class no longer necessary
- N/A
- Added DebugLogger, replacing print statements
- Cleaned up the header declarations of the data source functions by using convenient typealiases
- Added documentation for ComposableCollectionDataSource builder pattern functions
- More documentation for functions and classes
- N/A
- Allow all
UICollectionView
delegate and datasource functions to be overriden - Replaced handlers with builder pattern
- Added function for getting all
GenericCellModels
at designated indexPaths - Added conformance for prefetching
- Added associatedType
U
toDataSourceProvider
to represent individual header and footer models in GenericSupplementaryContainerModelS
- Adoption of builder pattern allows for easier code completion.
- Replaced optional
GenericCellModel
argument in handlers with non optional. Removes need for unwrapping a guaranteed non-nil-but-still optional argument - Moved all supplementary code (enums, protocols, structs, etc.) out of code. Improving code readability
- Removed designated section argument from supplementary models
N/A
- Working example code
N/A
N/A
- Implemented basic file and folder structure.
N/A
N/A
- First commit
N/A
N/A