Renamed the LocationsService service and LocationsClient client in the Remote library as RemoteService and RemoteClient respectively.

This commit is contained in:
Javier Cicchelli 2023-04-11 23:50:30 +02:00
parent b73a8e1010
commit 83ed85b755
6 changed files with 15 additions and 11 deletions

View File

@ -8,14 +8,18 @@
import UIKit
/// This class is responsible for populating the window of an application.
public class WindowRouter: Router {
// MARK: Properties
/// The window to set manually with a `UIViewController` view controller instance.
private let window: UIWindow?
// MARK: Initialisers
/// Initialise this router.
/// - Parameter window: A `UIWindow` window instance to be set manually.
public init(window: UIWindow?) {
self.window = window
}

View File

@ -1,6 +1,6 @@
//
// LocationsClient.swift
// Locations
// RemoteClient.swift
// Remote
//
// Created by Javier Cicchelli on 10/04/2023.
// Copyright © 2023 Röck+Cöde. All rights reserved.
@ -9,7 +9,7 @@
import APICore
import Foundation
struct LocationsClient {
struct RemoteClient {
// MARK: Properties
@ -27,7 +27,7 @@ struct LocationsClient {
// MARK: - Client
extension LocationsClient: Client {
extension RemoteClient: Client {
// MARK: Functions

View File

@ -1,6 +1,6 @@
//
// GetLocationsEndpoint.swift
// Locations
// Remote
//
// Created by Javier Cicchelli on 10/04/2023.
// Copyright © 2023 Röck+Cöde. All rights reserved.

View File

@ -1,6 +1,6 @@
//
// String+Constants.swift
// Locations
// Remote
//
// Created by Javier Cicchelli on 10/04/2023.
// Copyright © 2023 Röck+Cöde. All rights reserved.

View File

@ -1,6 +1,6 @@
//
// Location.swift
// Locations (Library)
// Remote
//
// Created by Javier Cicchelli on 10/04/2023.
// Copyright © 2023 Röck+Cöde. All rights reserved.

View File

@ -1,6 +1,6 @@
//
// LocationsService.swift
// Locations
// RemoteService.swift
// Remote
//
// Created by Javier Cicchelli on 10/04/2023.
// Copyright © 2023 Röck+Cöde. All rights reserved.
@ -9,7 +9,7 @@
import APICore
import Foundation
public struct LocationsService {
public struct RemoteService {
// MARK: Properties
@ -18,7 +18,7 @@ public struct LocationsService {
// MARK: Initialisers
public init(configuration: URLSessionConfiguration = .default) {
self.client = LocationsClient(configuration: configuration)
self.client = RemoteClient(configuration: configuration)
}
// MARK: Functions