Skip to content

Making use of diffable data source#744

Closed
timbms wants to merge 20 commits intodevelopfrom
diffable
Closed

Making use of diffable data source#744
timbms wants to merge 20 commits intodevelopfrom
diffable

Conversation

@timbms
Copy link
Copy Markdown
Contributor

@timbms timbms commented Nov 22, 2023

Diffable data source is a feature introduced in WWDC 2019. It eliminates a lot of boiler plate code:

  • int based section identifiers in tables are replaced by type-safe identifiers

Required deployment target iOS 14 should not be showstopper anymore

Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
…med to OpenHABSelectionCollectionViewController

Migrated OpenHABSelectionCollectionViewController away from Storyboard
Showing view controllers, rather than pushing them, see  https://www.swiftbysundell.com/tips/showing-view-controllers/

Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
…med to OpenHABSelectionCollectionViewController

Migrated OpenHABSelectionCollectionViewController away from Storyboard
Showing view controllers, rather than pushing them, see  https://www.swiftbysundell.com/tips/showing-view-controllers/

Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
…med to OpenHABSelectionCollectionViewController

Migrated OpenHABSelectionCollectionViewController away from Storyboard
Showing view controllers, rather than pushing them, see  https://www.swiftbysundell.com/tips/showing-view-controllers/

Migrated OpenHABSitemapViewController to diffable data source / Avoiding reloadData()

Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
Making the code more maintainable

Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
@timbms timbms marked this pull request as draft December 27, 2023 20:30
@timbms timbms requested review from digitaldan and weakfl and removed request for digitaldan July 29, 2024 13:02
@timbms timbms marked this pull request as ready for review July 29, 2024 13:05
timbms and others added 8 commits August 26, 2024 20:20
Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com>
Port switchsupport  to branch diffable
Getting the separatorInset back
Reverting diffable data source to work on OpenHABWidget instead of OpenHABWidget.ID
@timbms
Copy link
Copy Markdown
Contributor Author

timbms commented Jul 25, 2025

This has become obsolete

@timbms timbms closed this Jul 25, 2025
@timbms timbms deleted the diffable branch February 23, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant