[Feature] Location add #11
@ -6,10 +6,20 @@
|
|||||||
// Copyright © 2023 Röck+Cöde. All rights reserved.
|
// Copyright © 2023 Röck+Cöde. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
import Combine
|
||||||
|
|
||||||
protocol LocationsAddViewModeling: AnyObject {
|
protocol LocationsAddViewModeling: AnyObject {
|
||||||
|
|
||||||
// MARK: Properties
|
// MARK: Properties
|
||||||
|
|
||||||
var coordinator: LocationsAddCoordination? { get set }
|
var coordinator: LocationsAddCoordination? { get set }
|
||||||
|
|
||||||
|
var locationExistsPublisher: Published<Bool>.Publisher { get }
|
||||||
|
|
||||||
|
// MARK: Functions
|
||||||
|
|
||||||
|
func cleanLocation()
|
||||||
|
func saveLocation()
|
||||||
|
func setLocation(latitude: Float, longitude: Float)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user