Updated the headers of all the source code files to reference the terms of the License and the projects authors.

This commit is contained in:
Javier Cicchelli 2023-04-18 15:56:55 +02:00
parent 743fb75f6d
commit 86f142802a
32 changed files with 256 additions and 128 deletions

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// MockURLProtocol.swift // This source file is part of the SwiftLibs open source project
// APICore
// //
// Created by Javier Cicchelli on 10/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Foundation import Foundation

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// HTTPRequestMethod.swift // This source file is part of the SwiftLibs open source project
// Communications
// //
// Created by Javier Cicchelli on 10/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
/// Enumeration that represents the available HTTP request methods to use in this library. /// Enumeration that represents the available HTTP request methods to use in this library.
public enum HTTPRequestMethod: String { public enum HTTPRequestMethod: String {

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// HTTPResponseCode.swift // This source file is part of the SwiftLibs open source project
// Communications
// //
// Created by Javier Cicchelli on 16/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
public enum HTTPResponseCode: Int { public enum HTTPResponseCode: Int {

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Client.swift // This source file is part of the SwiftLibs open source project
// Communications
// //
// Created by Javier Cicchelli on 10/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Foundation import Foundation

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Endpoint.swift // This source file is part of the SwiftLibs open source project
// Communications
// //
// Created by Javier Cicchelli on 10/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Foundation import Foundation

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// MakeURLRequestUseCase.swift // This source file is part of the SwiftLibs open source project
// APICore
// //
// Created by Javier Cicchelli on 10/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Foundation import Foundation

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// BaseNavigationRouter.swift // This source file is part of the SwiftLibs open source project
// Coordination
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import UIKit import UIKit

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// ModalNavigationRouter.swift // This source file is part of the SwiftLibs open source project
// Coordination
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import UIKit import UIKit

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// PushNavigationRouter.swift // This source file is part of the SwiftLibs open source project
// Coordination
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import UIKit import UIKit

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// WindowRouter.swift // This source file is part of the SwiftLibs open source project
// Coordination
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import UIKit import UIKit

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Coordinator.swift // This source file is part of the SwiftLibs open source project
// Coordination
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
/// This protocol organize the flow logic between view controllers in the app. /// This protocol organize the flow logic between view controllers in the app.
public protocol Coordinator: AnyObject { public protocol Coordinator: AnyObject {

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Router.swift // This source file is part of the SwiftLibs open source project
// Coordination
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
#if canImport(UIKit) #if canImport(UIKit)
import UIKit import UIKit

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Bool+Init.swift // This source file is part of the SwiftLibs open source project
// Core
// //
// Created by Javier Cicchelli on 15/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
public extension Bool { public extension Bool {

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// String+Empty.swift // This source file is part of the SwiftLibs open source project
// Core
// //
// Created by Javier Cicchelli on 15/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
public extension String { public extension String {

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Dependency.swift // This source file is part of the SwiftLibs open source project
// Dependencies
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
/// This property wrapper provides a direct connection to the `DependencyService` service. /// This property wrapper provides a direct connection to the `DependencyService` service.
@propertyWrapper @propertyWrapper

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// DependencyKey.swift // This source file is part of the SwiftLibs open source project
// Dependencies
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
/// This protocol defines a key to use in the dependency service. /// This protocol defines a key to use in the dependency service.
public protocol DependencyKey { public protocol DependencyKey {

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// DependencyService.swift // This source file is part of the SwiftLibs open source project
// Dependencies
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
/// This service provide write/read access to the injected dependencies. /// This service provide write/read access to the injected dependencies.
public struct DependencyService { public struct DependencyService {

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Fetcher.swift // This source file is part of the SwiftLibs open source project
// Persistence
// //
// Created by Javier Cicchelli on 16/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Combine import Combine
import CoreData import CoreData

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// URL+Devices.swift // This source file is part of the SwiftLibs open source project
// Persistence
// //
// Created by Javier Cicchelli on 17/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Foundation import Foundation

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Service.swift // This source file is part of the SwiftLibs open source project
// Persistence
// //
// Created by Javier Cicchelli on 13/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import CoreData import CoreData

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// MakeURLRequestUseCaseTests.swift // This source file is part of the SwiftLibs open source project
// CommunicationsTests
// //
// Created by Javier Cicchelli on 10/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Communications import Communications
import Foundation import Foundation

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// TestCoordinators.swift // This source file is part of the SwiftLibs open source project
// CoordinationTests
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Coordination import Coordination
import UIKit import UIKit

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// CoordinatorTests.swift // This source file is part of the SwiftLibs open source project
// CoordinationTests
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Coordination import Coordination
import UIKit import UIKit

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// Bool+InitTests.swift // This source file is part of the SwiftLibs open source project
// Core
// //
// Created by Javier Cicchelli on 15/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Core import Core
import XCTest import XCTest

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// String+EmptyTests.swift // This source file is part of the SwiftLibs open source project
// Core
// //
// Created by Javier Cicchelli on 15/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2022 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Core import Core
import XCTest import XCTest

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// TestServices.swift // This source file is part of the SwiftLibs open source project
// DependenciesTests
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Dependencies import Dependencies

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// DependencyTests.swift // This source file is part of the SwiftLibs open source project
// DependenciesTests
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Dependencies import Dependencies
import XCTest import XCTest

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// DependencyServiceTests.swift // This source file is part of the SwiftLibs open source project
// DependenciesTests
// //
// Created by Javier Cicchelli on 11/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Dependencies import Dependencies
import XCTest import XCTest

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// FetcherTests.swift // This source file is part of the SwiftLibs open source project
// PersistenceTests
// //
// Created by Javier Cicchelli on 17/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Combine import Combine
import Persistence import Persistence

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// URL+DevicesTests.swift // This source file is part of the SwiftLibs open source project
// PersistenceTests
// //
// Created by Javier Cicchelli on 17/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import Foundation import Foundation
import Persistence import Persistence

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// NSFetchRequest+TestEntity.swift // This source file is part of the SwiftLibs open source project
// PersistenceTests
// //
// Created by Javier Cicchelli on 17/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import CoreData import CoreData

View File

@ -1,10 +1,14 @@
//===----------------------------------------------------------------------===//
// //
// TestPersistenceService.swift // This source file is part of the SwiftLibs open source project
// PersistenceTests
// //
// Created by Javier Cicchelli on 17/04/2023. // Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
// Copyright © 2023 Röck+Cöde. All rights reserved. // Licensed under the EUPL 1.2 or later.
// //
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
//
//===----------------------------------------------------------------------===//
import CoreData import CoreData
import Persistence import Persistence