Releases: DenTelezhkin/DTCollectionViewManager
4.0.0
4.0 is a next major release of DTCollectionViewManager
. It was rewritten from scratch in Swift 2 and is not backwards-compatible with previous releases.
Read 4.0 Migration guide.
Features
- Improved
ModelTransfer
protocol with associatedModelType
DTCollectionViewManager
is now a separate object- New events system, that allows reacting to cell selection, cell/header/footer configuration and content updates
- Added support for
UICollectionViewController
, and any other object, that hasUICollectionView
- New storage object generic-type getters
- Support for Swift types - classes, structs, enums, tuples.
3.2.0
Bugfixes
- Fixed an issue, where storageDidPerformUpdate method could be called without any updates.
3.1.1
3.1.0
Changes
- Added nullability annotations for XCode 6.3 and Swift 1.2
3.0.5
Bugfixes
Fixed issue, that could lead to wrong collection items being removed, when using memory storage removeItemsAtIndexPaths: method.
3.0.2
Features
Added support for installation as a framework via CocoaPods - requires iOS 8 and higher deployment target.
3.0.0
3.0 is a next major release of DTCollectionViewManager. Read all about changes in detail on a wiki page.
Features
- Full Swift support, including swift model classes
- Added convenience method to update section items
- Added
DTCollectionViewControllerEvents
protocol, that allows developer to react to changes in datasource - Added several convenience method for UICollectionViewFlowLayout. The API for supplementary header and footer registration now matches the API of DTTableViewManager.
- Added
collectionHeaderModel
andcollectionFooterModel
accessors forDTSectionModel
.
Breaking changes
DTStorage
protocol was renamed toDTStorageProtocol
.
2.7.0
This is a release, that is targeted at improving code readability, and reducing number of classes and protocols inside DTCollectionViewManager architecture.
Breaking changes
DTCollectionViewMemoryStorage
class was removed. It's methods were transferred toDTMemoryStorage+DTCollectionViewManagerAdditions
category.DTCollectionViewStorageUpdating
protocol was removed. It's methods were moved toDTCollectionViewController
.
Features
- When using
DTCoreDataStorage
, section titles are displayed as headers by default(UICollectionElementKindSectionHeader), if NSFetchedController was created with sectionNameKeyPath property.
2.6.0
Features
Add ability to use custom xibs for collection view cells and supplementary views.
2.5.0
Changes
Preliminary support for Swift.
If you use cells or supplementary views inside storyboards from Swift, implement optional reuseIdentifier method to return real Swift class name instead of the mangled one. This name should also be set as reuseIdentifier in storyboard.