Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Releases: 3lvis/DATASource

DATASource — 5.9.0

28 Jul 16:25
Compare
Choose a tag to compare
public func reloadCells(at indexPaths: [NSIndexPath]) 

self.collectionView?.reloadItemsAtIndexPaths([indexPath]) is pretty heavy, is usually one of the most heavy operations you can do in a UICollectionView. Also when it reloads the cells it flashes or blinks which is a quite terrible effect. This release adds a better way to reload cells in DATASource.

DATASource — 6.0.0 (Beta 1)

29 Jun 15:24
Compare
Choose a tag to compare
Pre-release

Swift 3 migration.

DATASource — 5.8.1

29 Jun 12:45
Compare
Choose a tag to compare
  • Reduce memory footprint

DATASource — 5.8.0

04 May 13:37
Compare
Choose a tag to compare
  • Improve Swift API and ObjC compatibility

Added:

func all<T: NSManagedObject>() -> [T]
func object<T: NSManagedObject>(indexPath indexPath: NSIndexPath) -> T?
func indexPath(object object: NSManagedObject) -> NSIndexPath?
func titleForHeader(section section: Int) -> String?

DATASource — 5.7.1

03 May 09:30
Compare
Choose a tag to compare
  • Fix duplicate cell in UI while moving rows within one section by @zarv1k 💣 => #64

giphy 11

DATASource — 5.7.0

02 May 10:13
Compare
Choose a tag to compare
  • Add support for setting custom row animations per type (#63)
let dataSource = DATASource(tableView: self.tableView, cellIdentifier: "Cell", fetchRequest: request, mainContext: self.dataStack.mainContext, configuration: { cell, item, indexPath in
    cell.textLabel?.text = item.valueForKey("title") as? String
})
dataSource.animations[.Insert] = .Fade

Great addition @zarv1k!

DATASource — 5.6.3

21 Apr 16:16
Compare
Choose a tag to compare
  • Make sure that inserted, updated and deleted indexes are unique

DATASource — 5.6.2

21 Apr 14:37
Compare
Choose a tag to compare
  • Added Carthage support

DATASource — 5.6.1

23 Mar 09:11
Compare
Choose a tag to compare
  • Updated for Swift 2.2

DATASource — 5.6.0

05 Jan 14:03
Compare
Choose a tag to compare
  • Fixed crash when inserting and deleting sections from collection view