SelectableItem
, DisplayableFlow
, MovableGenerator
had a similar idea but not unified format. Thats why we introduced pattern {ability}ableItem
and renamed all old protocols. We will remove old protocols in version 8.0.0.
Old | New |
---|---|
Configurable | ConfigurableItem |
GravityFoldableItem | FoldableItem |
DisplayableFlow | DisplayableItem |
Gravity | GravityItem |
MovableGenerator | MovableItem |
Long-named managers like BaseTableDataDisplayManager
or PaginableBaseTableDataDisplayManager
marked as deprecated.
Make attention to this deprecation warnings, because we will remove this managers in version 8.0.0.
If you have inherite from BaseTableDataDisplayManager
or other deprecated managers
- Check bult-in plugins. Maybe your
BaseTableDataDisplayManager
feature already transformed into plugin. - Create plugin replacing your custom
BaseTableDataDisplayManager
- Replace old manager initialisation with new builder like
tableView.rddm.baseBuilder.add(plugin: SomePlugin()).build()
If you were using basic implemetation, just start from step 3.
Keep in mind that support of SelectableItem
now was moved to TableSelectablePlugin
and you should add this plugin to builder.
Maybe useful tableView.add(plugin: .)
or tableView.add(featurePlugin: .)
will produce autocomplete hints which can help you to inspect all bult-in plugins.
More about new entities and plugins system in documentation
Previously we have BaseTableDataDisplayManager.tableView
or BaseCollectionDataDisplayManager.collection
properties with weak reference to view.
Now we have unified abstract var view: CollectionType!
in protocol DataDisplayManager
requirements.
- Rename tableView -> view
- Rename collection -> view