Skip to content

Releases: traderepublic/SectionKit

1.2

22 Mar 08:41
396e8f7
Compare
Choose a tag to compare
1.2
  • Add vanilla swift example that showcases updating the list of items (#86)
  • Fix ListCollectionViewAdapter init call in README (#87)
  • Add function to CollectionViewContext to retrieve the index of a given SectionController (#88)

1.1

07 Sep 09:54
02d5ddb
Compare
Choose a tag to compare
1.1
  • Fix version of SwiftPM integration in Readme (#82)
  • Convert the colors example to the MVC architecture (#83)
  • Add Equatable conformance to Error (#85)

1.0

10 Aug 08:49
e6258cb
Compare
Choose a tag to compare
1.0

This is the first major version of SectionKit 🎉

0.16

16 Jun 07:13
03087ab
Compare
Choose a tag to compare
0.16 Pre-release
Pre-release
  • Add convenience method for accessing items using a SectionIndexPath (#58)

0.15

04 Jun 15:28
784240e
Compare
Choose a tag to compare
0.15 Pre-release
Pre-release
  • Add convenience methods for dequeueing cells
  • Dependencies are now referenced by HTTPS instead of SSH

0.14

04 Jun 07:59
a901e32
Compare
Choose a tag to compare
0.14 Pre-release
Pre-release
  • Add example project
  • Reworked Carthage support

0.13

03 Jun 09:00
afdfe15
Compare
Choose a tag to compare
0.13 Pre-release
Pre-release
  • Add context to SectionController methods
  • Updates to the collection now receive 4 separate Sets split into deletes, inserts, moves and reloads, instead of one single set that takes an enum value. It is now also ensured, that inserts and deletes are performed in ascending/descending order
  • Some convenience properties on the CollectionViewContext were moved to an extension on the protocol instead of the protocol requiring an implementation for it
  • The methods for dequeuing cells/headerviews/footerviews now have an overload that doesn't require the generic type to be passed in if it can be inferred
  • The Section class can now also be initialised with a normal closure (in addition to the autoclosure variant)
  • The SingleItemSectionController does now support properly support checking items for equality in order to reload itself and offers a convenience init for items that conform to Equatable

0.12

21 Apr 09:36
9c49d87
Compare
Choose a tag to compare
0.12 Pre-release
Pre-release
  • Section.controller is not optional anymore
  • Section does not require a isModelEqual closure anymore

0.11.2

07 Jan 10:06
8ad9344
Compare
Choose a tag to compare
0.11.2 Pre-release
Pre-release
  • Fix bug when checking that sections are unique
  • Execute all completion closures when applying an update to the collection, but the collection isn't added to a window yet

0.11.1

07 Dec 14:07
1f03e64
Compare
Choose a tag to compare
0.11.1 Pre-release
Pre-release
  • Add a check if section ids are unique to prevent undefined behaviour