diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..8496979 Binary files /dev/null and b/.DS_Store differ diff --git a/Newstar/.DS_Store b/Newstar/.DS_Store new file mode 100644 index 0000000..6d4b830 Binary files /dev/null and b/Newstar/.DS_Store differ diff --git a/Newstar/Newstar.xcodeproj/project.pbxproj b/Newstar/Newstar.xcodeproj/project.pbxproj index b4bd29f..ec0b1d2 100644 --- a/Newstar/Newstar.xcodeproj/project.pbxproj +++ b/Newstar/Newstar.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 0CF8888D2A8E32AD00998657 /* CategoryDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0CF8888C2A8E32AD00998657 /* CategoryDetailView.swift */; }; 2F36AF8E2A83A6F800B3B456 /* NewstarApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F36AF8D2A83A6F800B3B456 /* NewstarApp.swift */; }; 2F36AF902A83A6F800B3B456 /* NewstarTabView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F36AF8F2A83A6F800B3B456 /* NewstarTabView.swift */; }; 2F36AF922A83A6FC00B3B456 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2F36AF912A83A6FC00B3B456 /* Assets.xcassets */; }; @@ -17,6 +18,7 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 0CF8888C2A8E32AD00998657 /* CategoryDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CategoryDetailView.swift; sourceTree = ""; }; 2F36AF8A2A83A6F800B3B456 /* Newstar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Newstar.app; sourceTree = BUILT_PRODUCTS_DIR; }; 2F36AF8D2A83A6F800B3B456 /* NewstarApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewstarApp.swift; sourceTree = ""; }; 2F36AF8F2A83A6F800B3B456 /* NewstarTabView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewstarTabView.swift; sourceTree = ""; }; @@ -60,6 +62,7 @@ 2F36AF8D2A83A6F800B3B456 /* NewstarApp.swift */, 2F36AF8F2A83A6F800B3B456 /* NewstarTabView.swift */, 2F36AF9D2A83AAAE00B3B456 /* CategoryView.swift */, + 0CF8888C2A8E32AD00998657 /* CategoryDetailView.swift */, 2F36AF9F2A83AAC100B3B456 /* BookmarkView.swift */, 2F36AF9B2A83AA9B00B3B456 /* MainView.swift */, 2F36AF912A83A6FC00B3B456 /* Assets.xcassets */, @@ -151,6 +154,7 @@ 2F36AF9C2A83AA9B00B3B456 /* MainView.swift in Sources */, 2F36AF9E2A83AAAE00B3B456 /* CategoryView.swift in Sources */, 2F36AF8E2A83A6F800B3B456 /* NewstarApp.swift in Sources */, + 0CF8888D2A8E32AD00998657 /* CategoryDetailView.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Newstar/Newstar/.DS_Store b/Newstar/Newstar/.DS_Store new file mode 100644 index 0000000..bc863aa Binary files /dev/null and b/Newstar/Newstar/.DS_Store differ diff --git a/Newstar/Newstar/Assets.xcassets/image1.imageset/Contents.json b/Newstar/Newstar/Assets.xcassets/image1.imageset/Contents.json new file mode 100644 index 0000000..a583449 --- /dev/null +++ b/Newstar/Newstar/Assets.xcassets/image1.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "image1.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Newstar/Newstar/Assets.xcassets/image1.imageset/image1.png b/Newstar/Newstar/Assets.xcassets/image1.imageset/image1.png new file mode 100644 index 0000000..ba4bc4a Binary files /dev/null and b/Newstar/Newstar/Assets.xcassets/image1.imageset/image1.png differ diff --git a/Newstar/Newstar/Assets.xcassets/image2.imageset/Contents.json b/Newstar/Newstar/Assets.xcassets/image2.imageset/Contents.json new file mode 100644 index 0000000..f0326be --- /dev/null +++ b/Newstar/Newstar/Assets.xcassets/image2.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "image2.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Newstar/Newstar/Assets.xcassets/image2.imageset/image2.png b/Newstar/Newstar/Assets.xcassets/image2.imageset/image2.png new file mode 100644 index 0000000..2a4c12b Binary files /dev/null and b/Newstar/Newstar/Assets.xcassets/image2.imageset/image2.png differ diff --git a/Newstar/Newstar/Assets.xcassets/image3.imageset/Contents.json b/Newstar/Newstar/Assets.xcassets/image3.imageset/Contents.json new file mode 100644 index 0000000..4f0b9c9 --- /dev/null +++ b/Newstar/Newstar/Assets.xcassets/image3.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "image3.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Newstar/Newstar/Assets.xcassets/image3.imageset/image3.png b/Newstar/Newstar/Assets.xcassets/image3.imageset/image3.png new file mode 100644 index 0000000..3bbfe16 Binary files /dev/null and b/Newstar/Newstar/Assets.xcassets/image3.imageset/image3.png differ diff --git a/Newstar/Newstar/CategoryDetailView.swift b/Newstar/Newstar/CategoryDetailView.swift new file mode 100644 index 0000000..eac6e43 --- /dev/null +++ b/Newstar/Newstar/CategoryDetailView.swift @@ -0,0 +1,36 @@ +// +// CategoryDetailView.swift +// Newstar +// +// Created by 윤경환 on 2023/08/17. +// + +import SwiftUI + +struct CategoryDetailView: View { + // MARK: - PROPERTIY + + + // MARK: - BODY + var body: some View { + NavigationStack { + List { + Image("image1") + .resizable() + .scaledToFit() + Image("image2") + .resizable() + .scaledToFit() + Image("image3") + .resizable() + .scaledToFit() + } + .navigationBarTitle(Text("Health"), displayMode: .large) + } + } +} +struct CategoryDetailView_Previews: PreviewProvider { + static var previews: some View { + CategoryDetailView() + } +}