Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 84031f2

Browse files
committed
Create Item entity with class
1 parent 1a9aa00 commit 84031f2

File tree

2 files changed

+11
-2
lines changed
  • iOS8-Swift-TableView-CoreData-Example.xcodeproj
  • iOS8-Swift-TableView-CoreData-Example/iOS8_Swift_TableView_CoreData_Example.xcdatamodeld/iOS8_Swift_TableView_CoreData_Example.xcdatamodel

2 files changed

+11
-2
lines changed

iOS8-Swift-TableView-CoreData-Example.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
96716CAE1B9DC4A7008C7F16 /* .gitignore in Resources */ = {isa = PBXBuildFile; fileRef = 96716CAD1B9DC4A7008C7F16 /* .gitignore */; };
1818
96716CB01B9DC600008C7F16 /* README.md in Sources */ = {isa = PBXBuildFile; fileRef = 96716CAF1B9DC600008C7F16 /* README.md */; };
1919
96716CB21B9DDAB6008C7F16 /* MIT-LICENSE.txt in Resources */ = {isa = PBXBuildFile; fileRef = 96716CB11B9DDAB6008C7F16 /* MIT-LICENSE.txt */; };
20+
96716CB41B9DDC0D008C7F16 /* Item.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96716CB31B9DDC0D008C7F16 /* Item.swift */; };
2021
/* End PBXBuildFile section */
2122

2223
/* Begin PBXContainerItemProxy section */
@@ -44,6 +45,7 @@
4445
96716CAD1B9DC4A7008C7F16 /* .gitignore */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitignore; sourceTree = "<group>"; };
4546
96716CAF1B9DC600008C7F16 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
4647
96716CB11B9DDAB6008C7F16 /* MIT-LICENSE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "MIT-LICENSE.txt"; sourceTree = "<group>"; };
48+
96716CB31B9DDC0D008C7F16 /* Item.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Item.swift; sourceTree = "<group>"; };
4749
/* End PBXFileReference section */
4850

4951
/* Begin PBXFrameworksBuildPhase section */
@@ -88,6 +90,7 @@
8890
96716C871B9DC474008C7F16 /* iOS8-Swift-TableView-CoreData-Example */ = {
8991
isa = PBXGroup;
9092
children = (
93+
96716CB31B9DDC0D008C7F16 /* Item.swift */,
9194
96716C8A1B9DC475008C7F16 /* AppDelegate.swift */,
9295
96716C8F1B9DC475008C7F16 /* ViewController.swift */,
9396
96716C911B9DC475008C7F16 /* Main.storyboard */,
@@ -226,6 +229,7 @@
226229
isa = PBXSourcesBuildPhase;
227230
buildActionMask = 2147483647;
228231
files = (
232+
96716CB41B9DDC0D008C7F16 /* Item.swift in Sources */,
229233
96716C901B9DC475008C7F16 /* ViewController.swift in Sources */,
230234
96716C8E1B9DC475008C7F16 /* iOS8_Swift_TableView_CoreData_Example.xcdatamodeld in Sources */,
231235
96716CB01B9DC600008C7F16 /* README.md in Sources */,
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<model name="Test1.xcdatamodel" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="1" systemVersion="11A491" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
3-
<elements/>
2+
<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="7701" systemVersion="14F27" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
3+
<entity name="Item" representedClassName="PRODUCT_MODULE_NAME.Item" syncable="YES">
4+
<attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
5+
</entity>
6+
<elements>
7+
<element name="Item" positionX="-63" positionY="-18" width="128" height="60"/>
8+
</elements>
49
</model>

0 commit comments

Comments
 (0)