Skip to content

Commit

Permalink
feature: 화이트보드 오브젝트 뷰 팩토리 설계(#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
taipaise committed Nov 12, 2024
1 parent b34e25c commit 1581284
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Presentation/Presentation.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */; };
Expand All @@ -31,6 +32,7 @@

/* Begin PBXFileReference section */
0080E8C52CE2F04F0095B958 /* WhiteboardObjectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WhiteboardObjectView.swift; sourceTree = "<group>"; };
0080E8C92CE2FF6E0095B958 /* WhiteboardObjectViewFactoryable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WhiteboardObjectViewFactoryable.swift; sourceTree = "<group>"; };
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 = "<group>"; };
Expand Down Expand Up @@ -71,6 +73,7 @@
0080E8C32CE2F0310095B958 /* Whiteboard */ = {
isa = PBXGroup;
children = (
0080E8C82CE2FF3D0095B958 /* Factory */,
0080E8C42CE2F0430095B958 /* View */,
);
path = Whiteboard;
Expand All @@ -84,6 +87,14 @@
path = View;
sourceTree = "<group>";
};
0080E8C82CE2FF3D0095B958 /* Factory */ = {
isa = PBXGroup;
children = (
0080E8C92CE2FF6E0095B958 /* WhiteboardObjectViewFactoryable.swift */,
);
path = Factory;
sourceTree = "<group>";
};
5B7C6E462CDB6A380024704A = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -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;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//
// WhiteboardObjectViewFactoryable.swift
// Presentation
//
// Created by 이동현 on 11/12/24.
//
import Domain

protocol WhiteboardObjectViewFactoryable {
func create(with whiteboardObject: WhiteboardObject) -> WhiteboardObjectView
}

0 comments on commit 1581284

Please sign in to comment.