26 lines
535 B
Swift
26 lines
535 B
Swift
//
|
|
// LocationsAddViewModeling.swift
|
|
// Locations
|
|
//
|
|
// Created by Javier Cicchelli on 11/04/2023.
|
|
// Copyright © 2023 Röck+Cöde. All rights reserved.
|
|
//
|
|
|
|
import Combine
|
|
|
|
protocol LocationsAddViewModeling: AnyObject {
|
|
|
|
// MARK: Properties
|
|
|
|
var coordinator: LocationsAddCoordination? { get set }
|
|
|
|
var locationExistsPublisher: Published<Bool>.Publisher { get }
|
|
|
|
// MARK: Functions
|
|
|
|
func cleanLocation()
|
|
func saveLocation()
|
|
func setLocation(latitude: Float, longitude: Float)
|
|
|
|
}
|