|
Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
|
#include <UIKitTableSource.hpp>
Public Types | |
| using | CellForRowFn |
| Render callback: given a row's shared_ptr<T>, the table view and the index path being asked about, return the UITableViewCell* to display (typically via [tableView dequeueReusableCellWithIdentifier:...]). | |
Instance Methods | ||
| (requires ::aria::ListSourceOf< L, T >) | - ObservableTableSource | |
| Construct a binding between an aria list source and a UITableView. | ||
| () | - ~ObservableTableSource | |
| () | - ObservableTableSource | |
| (ObservableTableSource &) | - operator= | |
| (std::size_t) | - row_count | |
| (std::shared_ptr< T >) | - at | |
| - (using) adapters: |
Render callback: given a row's shared_ptr<T>, the table view and the index path being asked about, return the UITableViewCell* to display (typically via [tableView dequeueReusableCellWithIdentifier:...]).
| - (requires) aria: | (UITableView *) | tableView | |
| (L &) | source | ||
| (CellForRowFn) | cell_for_row |
Construct a binding between an aria list source and a UITableView.
Source writes must be serialized with construction so snapshot capture and observer registration see one coherent state.
| - adapters: |
| - adapters: | (const ObservableTableSource< T > &) |
| - (ObservableTableSource &) adapters: | (const ObservableTableSource< T > &) |
| - (size_t) aria: | const |
| - (shared_ptr< T >) aria: | (std::size_t) | i | const |