[Feature] Locations list #10

Merged
javier merged 13 commits from feature/locations-list into main 2023-04-12 16:58:28 +00:00
Showing only changes of commit 94d905ffc3 - Show all commits

View File

@ -8,6 +8,7 @@
import Combine import Combine
import Foundation import Foundation
import Persistence
protocol LocationsListViewModeling: AnyObject { protocol LocationsListViewModeling: AnyObject {
@ -16,9 +17,13 @@ protocol LocationsListViewModeling: AnyObject {
var coordinator: LocationsListCoordination? { get set } var coordinator: LocationsListCoordination? { get set }
var viewStatusPublisher: Published<LocationsListViewStatus>.Publisher { get } var viewStatusPublisher: Published<LocationsListViewStatus>.Publisher { get }
var numberOfSectionsInData: Int { get }
// MARK: Functions // MARK: Functions
func openAddLocation() func openAddLocation()
func loadLocations()
func numberOfDataItems(in section: Int) -> Int
func dataItem(at indexPath: IndexPath) -> Location
} }