Skip to content

Releases: DenTelezhkin/DTCollectionViewManager

4.0.0

13 Sep 15:27
Compare
Choose a tag to compare

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.

Blog post

Features

  • Improved ModelTransfer protocol with associated ModelType
  • 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 has UICollectionView
  • New storage object generic-type getters
  • Support for Swift types - classes, structs, enums, tuples.

3.2.0

11 Sep 17:28
Compare
Choose a tag to compare

Bugfixes

  • Fixed an issue, where storageDidPerformUpdate method could be called without any updates.

3.1.1

27 Apr 12:51
Compare
Choose a tag to compare
  • Added support for installation using Carthage 🍻

3.1.0

10 Apr 14:44
Compare
Choose a tag to compare

Changes

  • Added nullability annotations for XCode 6.3 and Swift 1.2

3.0.5

22 Jan 14:55
Compare
Choose a tag to compare

Bugfixes

Fixed issue, that could lead to wrong collection items being removed, when using memory storage removeItemsAtIndexPaths: method.

3.0.2

22 Jan 14:54
Compare
Choose a tag to compare

Features

Added support for installation as a framework via CocoaPods - requires iOS 8 and higher deployment target.

3.0.0

13 Oct 18:25
Compare
Choose a tag to compare

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 and collectionFooterModel accessors for DTSectionModel.

Breaking changes

  • DTStorage protocol was renamed to DTStorageProtocol.

2.7.0

22 Aug 08:34
Compare
Choose a tag to compare

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 to DTMemoryStorage+DTCollectionViewManagerAdditions category.
  • DTCollectionViewStorageUpdating protocol was removed. It's methods were moved to DTCollectionViewController.

Features

  • When using DTCoreDataStorage, section titles are displayed as headers by default(UICollectionElementKindSectionHeader), if NSFetchedController was created with sectionNameKeyPath property.

2.6.0

31 Jul 17:49
Compare
Choose a tag to compare

Features

Add ability to use custom xibs for collection view cells and supplementary views.

2.5.0

30 Jul 20:42
Compare
Choose a tag to compare

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.