Slide 20
Slide 20 text
UseCase ͷPackage.swift
let package = Package(
name: "UseCase",
platforms: [
.iOS(.v15),
],
products: [
.library(
name: "UseCase",
targets: ["Interactor"]),
],
targets: [
.target(
name: "Interactor",
dependencies: ["Service", "Domain"]),
.target(
name: "Domain",
dependencies: []),
.target(
name: "Noah",
dependencies: []),
.target(
name: "Service",
dependencies: ["Domain", “Noah"]),
.testTarget(
name: "InteractorTests",
dependencies: ["Interactor", "Service", "Noah"]),
]
)
໌ࣔతʹͲͷPackageΛར༻͢Δ͔Λࢦఆ͢Δ