FunctionalTableData icon indicating copy to clipboard operation
FunctionalTableData copied to clipboard

Declarative UITableViewDataSource implementation

Results 12 FunctionalTableData issues
Sort by recently updated
recently updated
newest added

`UITableViewCell`s have a function built in: setHighlighted(_ highlighted: Bool, animated: Bool)`, which allows you to manipulate any subviews as needed when the user touches down on a cell. With FunctionalTableData,...

Pinned

http://www.openradar.me/33107135 In FunctionalTableData, when the contextual actions are being created, we can determine if the cell is this height and instead return a pre-rendered (and likely cached) image that includes...

Bug
Pinned

This would allow us to persist our current state easily and write a snapshot style test assert that a section matches the recorded encoded section.

Pinned

Now that we can just use an URL in the Playgrounds app (or I just TIL today about it), we can make this a playground book as well Check out...

Pinned

## What Right now, `updateView` is not clear enough about reusability. ## Suggested approach @robinsenior mentioned http://khanlou.com/2017/03/that-one-optional-property/ : ``` enum UseCase { case prepareForReuse case update(LabelState) } ```

Enhancement
Pinned

Remove our custom difference computation and replace with a more maintainable one. Current options on the table are [DifferenceKit](https://github.com/ra1028/DifferenceKit) and/or Swift 5.1's built in [Collection Difference](https://github.com/apple/swift/blob/master/stdlib/public/core/CollectionDifference.swift). The Swift 5.1 one...

Pinned

CellConfigType, TableSection, and ItemPath all use String's for their key's, we should instead use AnyHashable which makes things a bit nicer and easier to use (no need to convert Hashable...

Pinned

We are basing the editing style on the presence of rowActions/leading/trailing config. This isn't right but is needed for the moment for backwards compatibility. https://github.com/Shopify/FunctionalTableData/commit/795046694d85f5370e798c77813aefce7fccd954 We should instead provide a...

Pinned

## What At the moment you need to specify this somewhere in your app to make the separators appear. We should consider providing these as default ```swift Separator.appearance().backgroundColor = UITableView().separatorColor...

Pinned