IGListKit/Source/IGListSwiftKit
Nate Stedman 5f3c7e0319 Add experimental Swift IGListKit APIs
Summary:
This diff introduces two experimental APIs to make `IGListKit` more usable with Swift values types:

- The `ListIdentifiable` protocol, which provides the equivalent of the diff identifier half of `ListDiffable`. For equality, we just use Swift's native `Equatable`.
- The `ListValueSectionController` base class, which provides a section controller interface for use with `ListIdentifiable` values.

These two APIs work together through the use of a private box class. I'd like to keep this detail hidden from callers, so that product code only deals with native Swift types.

Differential Revision: D23606413

fbshipit-source-id: 23718c508643f165c74550f1515d77448bd42d42
2020-09-22 08:00:06 -07:00
..
IGListCollectionContext+Refinements.swift remove non-existing parameters from docblock (#1412) 2019-12-20 10:59:06 -08:00
IGListSwiftKit.h Run lint on IGListKit 2019-12-19 09:34:42 -08:00
ListIdentifiable.swift Add experimental Swift IGListKit APIs 2020-09-22 08:00:06 -07:00
ListValueSectionController.swift Add experimental Swift IGListKit APIs 2020-09-22 08:00:06 -07:00