From 1581284ee2781c677047b235b46675f944de94b7 Mon Sep 17 00:00:00 2001 From: taipaise Date: Tue, 12 Nov 2024 12:19:13 +0900 Subject: [PATCH] =?UTF-8?q?feature:=20=ED=99=94=EC=9D=B4=ED=8A=B8=EB=B3=B4?= =?UTF-8?q?=EB=93=9C=20=EC=98=A4=EB=B8=8C=EC=A0=9D=ED=8A=B8=20=EB=B7=B0=20?= =?UTF-8?q?=ED=8C=A9=ED=86=A0=EB=A6=AC=20=EC=84=A4=EA=B3=84(#50)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Presentation/Presentation.xcodeproj/project.pbxproj | 12 ++++++++++++ .../Factory/WhiteboardObjectViewFactoryable.swift | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 Presentation/Presentation/Sources/Whiteboard/Factory/WhiteboardObjectViewFactoryable.swift diff --git a/Presentation/Presentation.xcodeproj/project.pbxproj b/Presentation/Presentation.xcodeproj/project.pbxproj index 47ebd8a..5331fb0 100644 --- a/Presentation/Presentation.xcodeproj/project.pbxproj +++ b/Presentation/Presentation.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ 0080E8C62CE2F0510095B958 /* WhiteboardObjectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0080E8C52CE2F04F0095B958 /* WhiteboardObjectView.swift */; }; + 0080E8CA2CE2FF750095B958 /* WhiteboardObjectViewFactoryable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0080E8C92CE2FF6E0095B958 /* WhiteboardObjectViewFactoryable.swift */; }; 5B7C6EBA2CDB6C5C0024704A /* Domain.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B7C6EB92CDB6C5C0024704A /* Domain.framework */; }; 5B7C6EBB2CDB6C5C0024704A /* Domain.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5B7C6EB92CDB6C5C0024704A /* Domain.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; A8525DC32CE200230089DA5E /* Colors.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A8525DC22CE200230089DA5E /* Colors.xcassets */; }; @@ -31,6 +32,7 @@ /* Begin PBXFileReference section */ 0080E8C52CE2F04F0095B958 /* WhiteboardObjectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WhiteboardObjectView.swift; sourceTree = ""; }; + 0080E8C92CE2FF6E0095B958 /* WhiteboardObjectViewFactoryable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WhiteboardObjectViewFactoryable.swift; sourceTree = ""; }; 5B7C6E502CDB6A380024704A /* Presentation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Presentation.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 5B7C6EB92CDB6C5C0024704A /* Domain.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Domain.framework; sourceTree = BUILT_PRODUCTS_DIR; }; A8525DC22CE200230089DA5E /* Colors.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Colors.xcassets; sourceTree = ""; }; @@ -71,6 +73,7 @@ 0080E8C32CE2F0310095B958 /* Whiteboard */ = { isa = PBXGroup; children = ( + 0080E8C82CE2FF3D0095B958 /* Factory */, 0080E8C42CE2F0430095B958 /* View */, ); path = Whiteboard; @@ -84,6 +87,14 @@ path = View; sourceTree = ""; }; + 0080E8C82CE2FF3D0095B958 /* Factory */ = { + isa = PBXGroup; + children = ( + 0080E8C92CE2FF6E0095B958 /* WhiteboardObjectViewFactoryable.swift */, + ); + path = Factory; + sourceTree = ""; + }; 5B7C6E462CDB6A380024704A = { isa = PBXGroup; children = ( @@ -251,6 +262,7 @@ 0080E8C62CE2F0510095B958 /* WhiteboardObjectView.swift in Sources */, A8525DCB2CE203D50089DA5E /* UIView+.swift in Sources */, A8525DC82CE201D50089DA5E /* AirplainFont.swift in Sources */, + 0080E8CA2CE2FF750095B958 /* WhiteboardObjectViewFactoryable.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Presentation/Presentation/Sources/Whiteboard/Factory/WhiteboardObjectViewFactoryable.swift b/Presentation/Presentation/Sources/Whiteboard/Factory/WhiteboardObjectViewFactoryable.swift new file mode 100644 index 0000000..ff5f490 --- /dev/null +++ b/Presentation/Presentation/Sources/Whiteboard/Factory/WhiteboardObjectViewFactoryable.swift @@ -0,0 +1,11 @@ +// +// WhiteboardObjectViewFactoryable.swift +// Presentation +// +// Created by 이동현 on 11/12/24. +// +import Domain + +protocol WhiteboardObjectViewFactoryable { + func create(with whiteboardObject: WhiteboardObject) -> WhiteboardObjectView +}