Skip to content

Commit 193fe57

Browse files
committed
added images
1 parent 26ca66f commit 193fe57

File tree

4 files changed

+21
-7
lines changed

4 files changed

+21
-7
lines changed

SnippetBox.xcodeproj/project.pbxproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
17C4C3C62A4E9F0B008B0F55 /* TagSorting.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17C4C3C52A4E9F0B008B0F55 /* TagSorting.swift */; };
1818
17C4C3C92A4EA7CD008B0F55 /* FlowLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17C4C3C82A4EA7CD008B0F55 /* FlowLayout.swift */; };
1919
17C4C3CB2A4EA842008B0F55 /* TagCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17C4C3CA2A4EA842008B0F55 /* TagCell.swift */; };
20+
17C4C3CF2A4EAF0E008B0F55 /* snippbox_demo_sorting_filtering.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 17C4C3CD2A4EAF0E008B0F55 /* snippbox_demo_sorting_filtering.jpg */; };
21+
17C4C3D02A4EAF0E008B0F55 /* snippbox_demo.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 17C4C3CE2A4EAF0E008B0F55 /* snippbox_demo.jpg */; };
2022
17E5C3502A4C2D2A001F6666 /* UndoButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17E5C34F2A4C2D2A001F6666 /* UndoButton.swift */; };
2123
17E61EA02A4710AE008F29BD /* TagListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17E61E9F2A4710AE008F29BD /* TagListView.swift */; };
2224
17E808772A42DE2D00E5CC1B /* SnippetBoxApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17E808762A42DE2D00E5CC1B /* SnippetBoxApp.swift */; };
@@ -69,6 +71,8 @@
6971
17C4C3C52A4E9F0B008B0F55 /* TagSorting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TagSorting.swift; sourceTree = "<group>"; };
7072
17C4C3C82A4EA7CD008B0F55 /* FlowLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FlowLayout.swift; sourceTree = "<group>"; };
7173
17C4C3CA2A4EA842008B0F55 /* TagCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TagCell.swift; sourceTree = "<group>"; };
74+
17C4C3CD2A4EAF0E008B0F55 /* snippbox_demo_sorting_filtering.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = snippbox_demo_sorting_filtering.jpg; sourceTree = "<group>"; };
75+
17C4C3CE2A4EAF0E008B0F55 /* snippbox_demo.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = snippbox_demo.jpg; sourceTree = "<group>"; };
7276
17E5C34F2A4C2D2A001F6666 /* UndoButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UndoButton.swift; sourceTree = "<group>"; };
7377
17E61E9F2A4710AE008F29BD /* TagListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TagListView.swift; sourceTree = "<group>"; };
7478
17E808732A42DE2D00E5CC1B /* SnippetBox.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SnippetBox.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -228,9 +232,19 @@
228232
path = views;
229233
sourceTree = "<group>";
230234
};
235+
17C4C3CC2A4EAC0B008B0F55 /* images */ = {
236+
isa = PBXGroup;
237+
children = (
238+
17C4C3CD2A4EAF0E008B0F55 /* snippbox_demo_sorting_filtering.jpg */,
239+
17C4C3CE2A4EAF0E008B0F55 /* snippbox_demo.jpg */,
240+
);
241+
path = images;
242+
sourceTree = "<group>";
243+
};
231244
17E8086A2A42DE2D00E5CC1B = {
232245
isa = PBXGroup;
233246
children = (
247+
17C4C3CC2A4EAC0B008B0F55 /* images */,
234248
17E808752A42DE2D00E5CC1B /* SnippetBox */,
235249
17E8088C2A42DE2E00E5CC1B /* SnippetBoxTests */,
236250
17E808962A42DE2E00E5CC1B /* SnippetBoxUITests */,
@@ -419,6 +433,8 @@
419433
files = (
420434
17E808842A42DE2E00E5CC1B /* Preview Assets.xcassets in Resources */,
421435
17E808802A42DE2E00E5CC1B /* Assets.xcassets in Resources */,
436+
17C4C3CF2A4EAF0E008B0F55 /* snippbox_demo_sorting_filtering.jpg in Resources */,
437+
17C4C3D02A4EAF0E008B0F55 /* snippbox_demo.jpg in Resources */,
422438
);
423439
runOnlyForDeploymentPostprocessing = 0;
424440
};

SnippetBox/view/folder list view/FolderListView.swift

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ struct FolderListView: View {
1919

2020
var body: some View {
2121
List(selection: $selectedFolder) {
22-
23-
ForEach(folders) { folder in
24-
NavigationLink(value: folder) {
25-
FolderRow(folder: folder, selectedFolder: selectedFolder)
26-
}
22+
ForEach(folders) { folder in
23+
NavigationLink(value: folder) {
24+
FolderRow(folder: folder, selectedFolder: selectedFolder)
2725
}
28-
.onDelete(perform: deleteItems)
29-
26+
}
27+
.onDelete(perform: deleteItems)
3028
}
3129
.navigationTitle("Folders")
3230
.toolbar {

images/snippbox_demo.jpg

149 KB
Loading
150 KB
Loading

0 commit comments

Comments
 (0)