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 4f3d95d commit f984c38
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Domain/Domain.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/* Begin PBXBuildFile section */
0080E85B2CE19EBD0095B958 /* DomainStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0080E8582CE19EBD0095B958 /* DomainStruct.swift */; };
0080E8BB2CE2ECD80095B958 /* WhiteboardObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0080E8BA2CE2ECC60095B958 /* WhiteboardObject.swift */; };
5B7C6EB02CDB6C040024704A /* AirplaINFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B7C6EAF2CDB6C040024704A /* AirplaINFoundation.framework */; };
5B7C6EB12CDB6C040024704A /* AirplaINFoundation.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5B7C6EAF2CDB6C040024704A /* AirplaINFoundation.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */
Expand All @@ -28,6 +29,7 @@

/* Begin PBXFileReference section */
0080E8582CE19EBD0095B958 /* DomainStruct.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DomainStruct.swift; sourceTree = "<group>"; };
0080E8BA2CE2ECC60095B958 /* WhiteboardObject.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WhiteboardObject.swift; sourceTree = "<group>"; };
5B7C6E262CDB6A010024704A /* Domain.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Domain.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5B7C6EAF2CDB6C040024704A /* AirplaINFoundation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = AirplaINFoundation.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
Expand All @@ -47,6 +49,7 @@
0080E8592CE19EBD0095B958 /* Sources */ = {
isa = PBXGroup;
children = (
0080E8B92CE2ECB50095B958 /* Entity */,
0080E8582CE19EBD0095B958 /* DomainStruct.swift */,
);
path = Sources;
Expand All @@ -60,6 +63,14 @@
path = Domain;
sourceTree = "<group>";
};
0080E8B92CE2ECB50095B958 /* Entity */ = {
isa = PBXGroup;
children = (
0080E8BA2CE2ECC60095B958 /* WhiteboardObject.swift */,
);
path = Entity;
sourceTree = "<group>";
};
5B7C6E1C2CDB6A010024704A = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -193,6 +204,7 @@
buildActionMask = 2147483647;
files = (
0080E85B2CE19EBD0095B958 /* DomainStruct.swift in Sources */,
0080E8BB2CE2ECD80095B958 /* WhiteboardObject.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
23 changes: 23 additions & 0 deletions Domain/Domain/Sources/Entity/WhiteboardObject.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// WhiteboardObject.swift
// Domain
//
// Created by 이동현 on 11/12/24.
//
import Foundation

public class WhiteboardObject {
public let id: UUID
public var position: CGPoint
public var size: CGSize

public init(
id: UUID,
position: CGPoint,
size: CGSize
) {
self.id = id
self.position = position
self.size = size
}
}

0 comments on commit f984c38

Please sign in to comment.