Skip to content

Commit

Permalink
chore: dataModel 추가 및 폴더 정리 (boostcampwm-2024#39)
Browse files Browse the repository at this point in the history
- Data 계층에 CoreData의 DataModel이 추가 되면서, Model이라는 폴더가 생성되었다.
- DTO 폴더만 존재하였으나, Model이라는 폴더가 생기며 Model 폴더 안에 DTO, DataModel을 정리할 수 있다.
  • Loading branch information
Park-kxng committed Nov 14, 2024
1 parent 0aff4ae commit 53ac7ba
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 1 deletion.
36 changes: 35 additions & 1 deletion Molio.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
2003BA222CDCB31B002CAB3E /* SwipeMusicViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2003BA212CDCB31B002CAB3E /* SwipeMusicViewModel.swift */; };
20397E512CE33C03004ED9CE /* SwipeMusicPlayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20397E502CE33C03004ED9CE /* SwipeMusicPlayer.swift */; };
20397E5A2CE5CB3C004ED9CE /* PlaylistRepository.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20397E592CE5CB3C004ED9CE /* PlaylistRepository.swift */; };
20397E5F2CE5CD85004ED9CE /* Playlist.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 20397E5D2CE5CD85004ED9CE /* Playlist.xcdatamodeld */; };
881622692CE3671400E81EA0 /* RandomMusicDeck.swift in Sources */ = {isa = PBXBuildFile; fileRef = 881622682CE3671400E81EA0 /* RandomMusicDeck.swift */; };
8816226B2CE3838B00E81EA0 /* DeckTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8816226A2CE3838B00E81EA0 /* DeckTests.swift */; };
8816226D2CE3B11C00E81EA0 /* MusicDeck.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8816226C2CE3B11C00E81EA0 /* MusicDeck.swift */; };
Expand Down Expand Up @@ -118,6 +119,7 @@
2003BA212CDCB31B002CAB3E /* SwipeMusicViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwipeMusicViewModel.swift; sourceTree = "<group>"; };
20397E502CE33C03004ED9CE /* SwipeMusicPlayer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwipeMusicPlayer.swift; sourceTree = "<group>"; };
20397E592CE5CB3C004ED9CE /* PlaylistRepository.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaylistRepository.swift; sourceTree = "<group>"; };
20397E5E2CE5CD85004ED9CE /* Playlist.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Playlist.xcdatamodel; sourceTree = "<group>"; };
881622682CE3671400E81EA0 /* RandomMusicDeck.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RandomMusicDeck.swift; sourceTree = "<group>"; };
8816226A2CE3838B00E81EA0 /* DeckTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeckTests.swift; sourceTree = "<group>"; };
8816226C2CE3B11C00E81EA0 /* MusicDeck.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MusicDeck.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -251,6 +253,23 @@
path = UIKit;
sourceTree = "<group>";
};
20397E5B2CE5CD34004ED9CE /* Model */ = {
isa = PBXGroup;
children = (
20397E5C2CE5CD61004ED9CE /* DataModel */,
B809708C2CDB457C007BC3C4 /* DTO */,
);
path = Model;
sourceTree = "<group>";
};
20397E5C2CE5CD61004ED9CE /* DataModel */ = {
isa = PBXGroup;
children = (
20397E5D2CE5CD85004ED9CE /* Playlist.xcdatamodeld */,
);
path = DataModel;
sourceTree = "<group>";
};
881622722CE3BAB900E81EA0 /* MusicDeck */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -359,7 +378,7 @@
B809708A2CDB456E007BC3C4 /* Repository */,
B809708B2CDB4575007BC3C4 /* DataSource */,
F17369502CDFA7A100F6242C /* Mapper */,
B809708C2CDB457C007BC3C4 /* DTO */,
20397E5B2CE5CD34004ED9CE /* Model */,
);
path = Data;
sourceTree = "<group>";
Expand Down Expand Up @@ -887,6 +906,7 @@
F17368FB2CD86B1100F6242C /* SceneDelegate.swift in Sources */,
F17369232CDC5E5F00F6242C /* MusicTagView.swift in Sources */,
881BBCAA2CDCF90700010A61 /* MockSpotifyRepository.swift in Sources */,
20397E5F2CE5CD85004ED9CE /* Playlist.xcdatamodeld in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1205,6 +1225,20 @@
productName = "plugin:SwiftLintBuildToolPlugin";
};
/* End XCSwiftPackageProductDependency section */

/* Begin XCVersionGroup section */
20397E5D2CE5CD85004ED9CE /* Playlist.xcdatamodeld */ = {
isa = XCVersionGroup;
children = (
20397E5E2CE5CD85004ED9CE /* Playlist.xcdatamodel */,
);
currentVersion = 20397E5E2CE5CD85004ED9CE /* Playlist.xcdatamodel */;
name = Playlist.xcdatamodeld;
path = "/Users/p_kxn_g/Documents/GitHub/naverboostcamp_challenge/membership/membership/iOS06-molio/Molio/Source/Data/Model/DataModel/Playlist.xcdatamodeld";
sourceTree = "<group>";
versionGroupType = wrapper.xcdatamodel;
};
/* End XCVersionGroup section */
};
rootObject = F17368ED2CD86B1100F6242C /* Project object */;
}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="22758" systemVersion="23C71" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithSwiftData="YES" userDefinedModelVersionIdentifier="">
<entity name="Playlist" representedClassName="Playlist" syncable="YES" codeGenerationType="class">
<attribute name="createdAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
<attribute name="filters" optional="YES" attributeType="Transformable"/>
<attribute name="id" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
<attribute name="musics" optional="YES" attributeType="Transformable"/>
<attribute name="name" optional="YES" attributeType="String"/>
</entity>
</model>

0 comments on commit 53ac7ba

Please sign in to comment.