Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions Nav.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
26A1500D29083A1300BC7355 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26A1500C29083A1300BC7355 /* ContentView.swift */; };
26A1500F29083A1400BC7355 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 26A1500E29083A1400BC7355 /* Assets.xcassets */; };
26A1501929083B7B00BC7355 /* MapView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26A1501829083B7B00BC7355 /* MapView.swift */; };
CE03E6792A1F77FA002AC26B /* Model.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = CE03E6772A1F77FA002AC26B /* Model.xcdatamodeld */; };
CE2D8D3829C59D5F00E5C104 /* ImagePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE2D8D3729C59D5F00E5C104 /* ImagePicker.swift */; };
CE2D8D3A29C59DF100E5C104 /* CategoryPicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE2D8D3929C59DF100E5C104 /* CategoryPicker.swift */; };
DCE7EBCF2A172C1E00644745 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCE7EBCE2A172C1E00644745 /* Extensions.swift */; };
Expand All @@ -37,6 +38,7 @@
26A1500C29083A1300BC7355 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
26A1500E29083A1400BC7355 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
26A1501829083B7B00BC7355 /* MapView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapView.swift; sourceTree = "<group>"; };
CE03E6782A1F77FA002AC26B /* Model.xcdatamodel */ = {isa = PBXFileReference; explicitFileType = wrapper.xcdatamodel; path = Model.xcdatamodel; sourceTree = "<group>"; };
CE2D8D3729C59D5F00E5C104 /* ImagePicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImagePicker.swift; sourceTree = "<group>"; };
CE2D8D3929C59DF100E5C104 /* CategoryPicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CategoryPicker.swift; sourceTree = "<group>"; };
DCE7EBCE2A172C1E00644745 /* Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -92,6 +94,7 @@
26A1501029083A1400BC7355 /* Preview Content */,
CE2D8D3729C59D5F00E5C104 /* ImagePicker.swift */,
CE2D8D3929C59DF100E5C104 /* CategoryPicker.swift */,
CE03E6772A1F77FA002AC26B /* Model.xcdatamodeld */,
);
path = Nav;
sourceTree = "<group>";
Expand Down Expand Up @@ -146,14 +149,6 @@
path = Extension;
sourceTree = "<group>";
};
26FE54E62949B90100B4E0E9 /* Data */ = {
isa = PBXGroup;
children = (
FDFD7A642928993A001BE945 /* MockData.json */,
);
path = Data;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -232,6 +227,7 @@
FDFD7A6129289926001BE945 /* Bundle+Ext.swift in Sources */,
262C17CE290E9D4500450E54 /* Image+.swift in Sources */,
26A1501929083B7B00BC7355 /* MapView.swift in Sources */,
CE03E6792A1F77FA002AC26B /* Model.xcdatamodeld in Sources */,
DCE7EBD12A172C9000644745 /* SearchBar.swift in Sources */,
FDFD7A6329289933001BE945 /* MockDatum.swift in Sources */,
DCE7EBCF2A172C1E00644745 /* Extensions.swift in Sources */,
Expand Down Expand Up @@ -439,6 +435,19 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCVersionGroup section */
CE03E6772A1F77FA002AC26B /* Model.xcdatamodeld */ = {
isa = XCVersionGroup;
children = (
CE03E6782A1F77FA002AC26B /* Model.xcdatamodel */,
);
currentVersion = CE03E6782A1F77FA002AC26B /* Model.xcdatamodel */;
path = Model.xcdatamodeld;
sourceTree = "<group>";
versionGroupType = wrapper.xcdatamodel;
};
/* End XCVersionGroup section */
};
rootObject = 26A14FFF29083A1300BC7355 /* Project object */;
}
6 changes: 6 additions & 0 deletions Nav/MapModel.xcdatamodeld/MapModel.xcdatamodel/contents
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="21513" systemVersion="21G419" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
<entity name="Entity" representedClassName="Entity" syncable="YES" codeGenerationType="class">
<attribute name="attribute" optional="YES"/>
</entity>
</model>
37 changes: 37 additions & 0 deletions Nav/Model.xcdatamodeld/Model.xcdatamodel/contents
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="21513" systemVersion="21G419" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
<entity name="Address" representedClassName="Address" parentEntity="PinInfo" syncable="YES" codeGenerationType="class">
<attribute name="city" optional="YES" attributeType="String"/>
<attribute name="country" optional="YES" attributeType="String"/>
<attribute name="detailAddress" optional="YES" attributeType="String"/>
<attribute name="district" optional="YES" attributeType="String"/>
<attribute name="postalCode" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
<attribute name="streetAddress" optional="YES" attributeType="String"/>
<relationship name="relationship" maxCount="1" deletionRule="Cascade" destinationEntity="PinInfo" inverseName="address" inverseEntity="PinInfo"/>
</entity>
<entity name="Coordinate" representedClassName="Coordinate" parentEntity="PinInfo" syncable="YES" codeGenerationType="class">
<attribute name="latitude" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
<attribute name="longitude" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
<relationship name="relationship" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="PinInfo" inverseName="coordinate" inverseEntity="PinInfo"/>
</entity>
<entity name="Pictures" representedClassName="Pictures" parentEntity="PinInfo" syncable="YES" codeGenerationType="class">
<attribute name="img" optional="YES" attributeType="Binary"/>
<relationship name="relationship" maxCount="1" deletionRule="Cascade" destinationEntity="PinInfo" inverseName="pictures" inverseEntity="PinInfo"/>
</entity>
<entity name="PinInfo" representedClassName="PinInfo" parentEntity="Theme" syncable="YES" codeGenerationType="class">
<attribute name="content" optional="YES" attributeType="String"/>
<attribute name="createDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
<attribute name="id" attributeType="UUID" usesScalarValueType="NO"/>
<attribute name="rating" attributeType="Float" defaultValueString="0.0" usesScalarValueType="NO"/>
<attribute name="title" optional="YES" attributeType="String"/>
<attribute name="updateDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
<relationship name="address" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="Address" inverseName="relationship" inverseEntity="Address"/>
<relationship name="coordinate" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="Coordinate" inverseName="relationship" inverseEntity="Coordinate"/>
<relationship name="pictures" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Pictures" inverseName="relationship" inverseEntity="Pictures"/>
<relationship name="theme" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Theme" inverseName="pin" inverseEntity="Theme"/>
</entity>
<entity name="Theme" representedClassName="Theme" syncable="YES" codeGenerationType="class">
<attribute name="name" optional="YES" attributeType="String"/>
<relationship name="pin" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="PinInfo" inverseName="theme" inverseEntity="PinInfo"/>
</entity>
</model>