diff --git a/Presentation/Presentation.xcodeproj/project.pbxproj b/Presentation/Presentation.xcodeproj/project.pbxproj index 0075256..47ebd8a 100644 --- a/Presentation/Presentation.xcodeproj/project.pbxproj +++ b/Presentation/Presentation.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 0080E8C62CE2F0510095B958 /* WhiteboardObjectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0080E8C52CE2F04F0095B958 /* WhiteboardObjectView.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 */; }; @@ -29,6 +30,7 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 0080E8C52CE2F04F0095B958 /* WhiteboardObjectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WhiteboardObjectView.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 = ""; }; @@ -52,6 +54,7 @@ isa = PBXGroup; children = ( A8525DC52CE201C00089DA5E /* Common */, + 0080E8C32CE2F0310095B958 /* Whiteboard */, ); path = Sources; sourceTree = ""; @@ -65,6 +68,22 @@ path = Presentation; sourceTree = ""; }; + 0080E8C32CE2F0310095B958 /* Whiteboard */ = { + isa = PBXGroup; + children = ( + 0080E8C42CE2F0430095B958 /* View */, + ); + path = Whiteboard; + sourceTree = ""; + }; + 0080E8C42CE2F0430095B958 /* View */ = { + isa = PBXGroup; + children = ( + 0080E8C52CE2F04F0095B958 /* WhiteboardObjectView.swift */, + ); + path = View; + sourceTree = ""; + }; 5B7C6E462CDB6A380024704A = { isa = PBXGroup; children = ( @@ -229,6 +248,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 0080E8C62CE2F0510095B958 /* WhiteboardObjectView.swift in Sources */, A8525DCB2CE203D50089DA5E /* UIView+.swift in Sources */, A8525DC82CE201D50089DA5E /* AirplainFont.swift in Sources */, ); diff --git a/Presentation/Presentation/Sources/Whiteboard/View/WhiteboardObjectView.swift b/Presentation/Presentation/Sources/Whiteboard/View/WhiteboardObjectView.swift new file mode 100644 index 0000000..c8b30c3 --- /dev/null +++ b/Presentation/Presentation/Sources/Whiteboard/View/WhiteboardObjectView.swift @@ -0,0 +1,19 @@ +// +// WhiteboardObjectView.swift +// Presentation +// +// Created by 이동현 on 11/12/24. +// +import Domain +import UIKit + +class WhiteboardObjectView: UIView { + init(whiteboardObject: WhiteboardObject) { + let frame = CGRect(origin: whiteboardObject.position, size: whiteboardObject.size) + super.init(frame: frame) + } + + required init?(coder: NSCoder) { + super.init(coder: coder) + } +}