From d8af3fdd0d90a1137804d7f8855f8b69ae0a4df2 Mon Sep 17 00:00:00 2001 From: prettyalana <129349619+prettyalana@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:19:36 -0500 Subject: [PATCH 1/7] Created SearchCardView and added tags and search results to SearchView --- AddED+.xcodeproj/project.pbxproj | 4 + .../xcshareddata/swiftpm/Package.resolved | 15 ++++ AddED+/Views/.DS_Store | Bin 8196 -> 6148 bytes AddED+/Views/HomeScreen.swift | 2 +- AddED+/Views/SearchCardView.swift | 73 +++++++++++++++++ AddED+/Views/SearchView.swift | 74 ++++++++++++------ AddED+/Views/UserInterests.swift | 12 +-- 7 files changed, 145 insertions(+), 35 deletions(-) create mode 100644 AddED+.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved create mode 100644 AddED+/Views/SearchCardView.swift diff --git a/AddED+.xcodeproj/project.pbxproj b/AddED+.xcodeproj/project.pbxproj index 87fd0b6..316bdf5 100644 --- a/AddED+.xcodeproj/project.pbxproj +++ b/AddED+.xcodeproj/project.pbxproj @@ -15,6 +15,7 @@ E754E0B12C4EEAB200D526A1 /* ProgramName.swift in Sources */ = {isa = PBXBuildFile; fileRef = E754E0B02C4EEAB200D526A1 /* ProgramName.swift */; }; E754E0B32C4EEADB00D526A1 /* ProgramInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = E754E0B22C4EEADB00D526A1 /* ProgramInfo.swift */; }; E754E0B52C4EEB0800D526A1 /* AddProgramPage.swift in Sources */ = {isa = PBXBuildFile; fileRef = E754E0B42C4EEB0700D526A1 /* AddProgramPage.swift */; }; + E768B4262C5818B400270BB4 /* SearchCardView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E768B4252C5818B400270BB4 /* SearchCardView.swift */; }; E7BD348E2C4106FB00BDA300 /* AddED_App.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7BD348D2C4106FB00BDA300 /* AddED_App.swift */; }; E7BD34902C4106FB00BDA300 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7BD348F2C4106FB00BDA300 /* ContentView.swift */; }; E7BD34922C4106FD00BDA300 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E7BD34912C4106FD00BDA300 /* Assets.xcassets */; }; @@ -40,6 +41,7 @@ E754E0B02C4EEAB200D526A1 /* ProgramName.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgramName.swift; sourceTree = ""; }; E754E0B22C4EEADB00D526A1 /* ProgramInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgramInfo.swift; sourceTree = ""; }; E754E0B42C4EEB0700D526A1 /* AddProgramPage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AddProgramPage.swift; sourceTree = ""; }; + E768B4252C5818B400270BB4 /* SearchCardView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchCardView.swift; sourceTree = ""; }; E7BD348A2C4106FB00BDA300 /* AddED+.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AddED+.app"; sourceTree = BUILT_PRODUCTS_DIR; }; E7BD348D2C4106FB00BDA300 /* AddED_App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddED_App.swift; sourceTree = ""; }; E7BD348F2C4106FB00BDA300 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; @@ -83,6 +85,7 @@ E754E0B22C4EEADB00D526A1 /* ProgramInfo.swift */, F0A9CB3F2C49B095004B509A /* RatingStarsView.swift */, F0A9CB352C49A309004B509A /* ProgramCardView.swift */, + E768B4252C5818B400270BB4 /* SearchCardView.swift */, F0A9CB372C49A314004B509A /* TagRectangleView.swift */, E7DA68442C49C464000C7486 /* TabBar.swift */, F025DAA82C50434400B9249E /* RatingView.swift */, @@ -226,6 +229,7 @@ F0A9CB342C49A1CC004B509A /* ProgramModel.swift in Sources */, E754E0B32C4EEADB00D526A1 /* ProgramInfo.swift in Sources */, F63377762C50A7E70024D2BD /* ProgramRecommendedView.swift in Sources */, + E768B4262C5818B400270BB4 /* SearchCardView.swift in Sources */, F63775642C51A55700491F55 /* TagListView.swift in Sources */, F0A9CB402C49B095004B509A /* RatingStarsView.swift in Sources */, F0A9CB3A2C49A3FD004B509A /* ProgramView.swift in Sources */, diff --git a/AddED+.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/AddED+.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..5ac2f71 --- /dev/null +++ b/AddED+.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,15 @@ +{ + "originHash" : "50578bb08258a739890c5d3d0a495ba4213b27b4dbbbc844c23e93aa2d80550b", + "pins" : [ + { + "identity" : "wrappinghstack", + "kind" : "remoteSourceControl", + "location" : "https://github.com/dkk/WrappingHStack", + "state" : { + "revision" : "425d9488ba55f58f0b34498c64c054c77fc2a44b", + "version" : "2.2.11" + } + } + ], + "version" : 3 +} diff --git a/AddED+/Views/.DS_Store b/AddED+/Views/.DS_Store index 4427eca283ed659abba12d847df334eaaf6cebbe..e31593820a09301b41819a848180acd2dafaaceb 100644 GIT binary patch delta 103 zcmZp1XfcprU|?W$DortDU=RQ@Ie-{Mvv5r;6q~50$jG-bU^g=(-)0_xi_8!@ Date: Tue, 30 Jul 2024 13:27:15 -0500 Subject: [PATCH 2/7] Added bookmark icon to programs that are not saved --- AddED+/Views/ProgramCardView.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AddED+/Views/ProgramCardView.swift b/AddED+/Views/ProgramCardView.swift index 08050dc..3396882 100644 --- a/AddED+/Views/ProgramCardView.swift +++ b/AddED+/Views/ProgramCardView.swift @@ -60,6 +60,11 @@ struct ProgramCardView: View { .foregroundColor(.blue) .font(.system(size:24)) } + else { + Image(systemName: "bookmark") + .foregroundColor(.blue) + .font(.system(size:24)) + } } .padding(.all, 8.0) From 2483725b7e16a168dd3bfe4c5179e0aa79914d3a Mon Sep 17 00:00:00 2001 From: prettyalana <129349619+prettyalana@users.noreply.github.com> Date: Mon, 12 Aug 2024 00:40:02 -0500 Subject: [PATCH 3/7] Added bookmark icon that isn't filled for programs that are not saved --- .DS_Store | Bin 8196 -> 0 bytes AddED+/.DS_Store | Bin 8196 -> 0 bytes AddED+/Views/.DS_Store | Bin 6148 -> 0 bytes AddED+/Views/SearchCardView.swift | 14 +++++++------- 4 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 .DS_Store delete mode 100644 AddED+/.DS_Store delete mode 100644 AddED+/Views/.DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index de5888ecfa0140c7049cfefecdcc0dc6c04333c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHM-D(p-82u(q+l@sUL7@o3f)^GnG5v{9yh+pa!V5tfsTV5grn{!8o1KtN8=(|( zt%z@+kKnCO;0p-e2)>4RrDuL(XSXfEQmWXQW#{b9d}qFy)0uBFTOwkWU4NcvhKL;8 z0`pVIj!B|k+(%MImk2TgpYDfzs}b@B-t$MSZGlz5Dqt0`3RnfK0{?;n*t11)PT2QV zt<9|hR)GttfQSz+Zh>Wu1BEhlAd^P`U>3zP;aUFl2fCsFSk^dDh!P~Gs6a(!`iQ~w z$$=?4>dV@Gpit3?NzZ6UduIBC!t}v|xze0iS)t9X0#<>e3W&3NmI~CQ7WGo+_Z8F? ze##_?mxgw*ZBj&>x)h{1A5xq=dF11AsRL^cUKb^8`R?H@#b-BC{OhCm=+jHuLd!k{ z+Q&|^Pwe$sv>7(%Yg@eCkxJ0=8{nz>*5=i!{zl?_eLp`N-})qUK4n|}nYGo~HpjOq zhB;0v@^80B)uf`CCTiaqGsCcK^y7{m-^WHLY{k7|@e9k0WydEbok?fPc~;xz{aVlK z?Zy?a`$W7w;yi2&pS{LLE9lqrS66w|^IB2Rm4ucbz~t%UR^;=3h3`gwEV(sR;pCiL zJwLO*zf>yCxr+;>gE@D9d7(JxE-l_YILJBIZr-`KUVjm`BmPPZ4qFFPNS8GZLChCp zM0>Sv6!J)nSuiFJRiWF*=whyzgzbN#OkzwaZStlzqgN)Zlk;dKKd}ngH~HCeluvWT z72bZ|`8+FE+(=(-ez>~+gqK)JnIeWr(?%cbc<$gTP)vP9(&y>8%YJ}i&LY8%aRt;v zuHv0{SdyHBBqFf6Hm}esqGJSZAoC6Q4B+`>{~`vPElkrx5$S19Gu>p1N&hn1n(Q2{ z(;7xlr3b(QV!xkai1C^XyxMdQ3XCZqGvfTecJlZCbLfe6VHL0n{4E7owpy!J;C=Xm zDBTfp)^>4k;ucBR4HQZWGI<;a%Hufj_dg8r?7~!V${Gg>QG#^t9|G+DZ})#W^DcJw E3$W@5rT_o{ diff --git a/AddED+/.DS_Store b/AddED+/.DS_Store deleted file mode 100644 index dac9190fed912ca83f5ce71c72786dfcfa383d6f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeI1&2G~`5XWcJv~^UW=1|mJkSuYHLP%&z#U)KsBo0UjqjCTg?ATDN#*SjAsT4)Z z6?hnq@FctoC;0D2Bim_+5K;lL6Yb1qcgDN^?XKNPiHLPZ?p>k^5g91lmbaj;5Z=$r zf)rFs8I~cQs7pOMqyav)1#jJ;31|YEfF_^`Xaau&0lc%h7)##!vR7+OKoj^c3GnBG ziNbAL*_pKB(E%k=0N5g$g`m#U0Ul#2+g5faEqWkKhQi8Frcw+h!_jUkzqYb7X=OMu zm3%NYGE*4}6Qkq$rf?_LmR4&`KoeLbz>mu|a&{M=<4pb@)0ljEL&>8c>N`Q?z>|9) zqSU?%K}|--6q82@bd4^kPc~|*B^Uka*P@+qJWykQaRz}OC-wSQR#+>pZ)_Ty#+LEQ zI*rCwVke`xV-H{OZ_lDAa4ze%bK-mBUU}yz3KQE8y`c#3T@NlVpZlR3jXTjObYl@~ z$qu7rlzQdLWYXL_sG7}sV_G#Q2aS5wyw_|^rzPX&?K=;i_RfNLVe~;zAf_HnbVGih z>yM~$!gC^vjNG^%IG8n$S>bwa4Z|P`-@=m*xIvF8!qRyZP@F~0ZlOQDP#NDp4t5`4 z8~68q6Kv+5(ik%xIcVGTgoZ$Nj{WUnmz#71h#~f`$8`=PU%xcQ718NQ?2v^^+8C@) zr}U6UxO^YO_+q#kw#1c3jD5=uxlSi)s<|~T@O_Y;T*@=G!k@4G= z9nAmoPuTpe@LbzOd5yw_`^}^kAy6V6hZX5K?ED{wsGD%*F>PgM(xL^Te+Up5w9*8w GmB0@-heFH% diff --git a/AddED+/Views/.DS_Store b/AddED+/Views/.DS_Store deleted file mode 100644 index e31593820a09301b41819a848180acd2dafaaceb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%Sr<=6g{b3h)SuT#f8FrLBT(mwuvUX2U!;rr=SMK-vZF3b*FhUh8yxtP#1{9^SV++%Sfb@|&!CjB3Q5Ob_NF<)MrwW0;ZE#bDzroBx{PpQco3 zFoq?g$j!xkq&yv`JhiCFn6YKXQkdj;xYh4!-iW-#M&vvdLx;KyR3A}juIlcPn~bz6 z#r&po%T)(5((%Yn(P1`g&X750S(h!*d9{PiGU9Ph<%Fl5B1z;@;oEz7rXJ}Pu)-bh z^s`4yW?#bBkz>>~o6M0mGV9_wRFpSiCNe&vg{U&+Rc<~y@8Z7bdPn1)Ew+DX(brx9 zuYgxzqkw!L0v5s0VPsK19jx>SKrFIbjcxgBAe_Kq=rFR#J2YddL`ya9h+!<9{egQf zbQoE*bQpK|Fz(I9oluOvo&E!T9455rYp;M;AgREfy)4WAf1Q2)Pm=tVSHLUquM{xF ztL{~uDY?CMD>>O~1C|FCF?lYss1#OiJJyD5#b+#PycbA=7&?qBvWMpX2&fFc@(TQ_ F0$(Ro0c8LH diff --git a/AddED+/Views/SearchCardView.swift b/AddED+/Views/SearchCardView.swift index 9d97ad7..f5401fb 100644 --- a/AddED+/Views/SearchCardView.swift +++ b/AddED+/Views/SearchCardView.swift @@ -25,12 +25,6 @@ struct SearchCardView: View { Text(displayedProgram.name) .font(.system(size:20)) .padding(.trailing, 5) -// if displayedProgram.verified { -// Image(systemName: "checkmark.circle") -// .font(.system(size: 30, weight:.bold)) -// .foregroundColor(.green) -// .padding(.bottom, 8) - Spacer() } .frame(maxWidth:300, maxHeight:20) @@ -54,10 +48,16 @@ struct SearchCardView: View { .bold() .font(.system(size: 24)) Spacer() + if (currentUser.savedPrograms.contains(displayedProgram.id)) { Image(systemName:"bookmark.fill") .foregroundColor(.blue) .font(.system(size:24)) - + } + else { + Image(systemName: "bookmark") + .foregroundColor(.blue) + .font(.system(size:24)) + } } .padding(.all, 8.0) .frame(maxWidth:300) From a05daa294d2e48a36b47f77b8b9211e00baedce9 Mon Sep 17 00:00:00 2001 From: prettyalana <129349619+prettyalana@users.noreply.github.com> Date: Mon, 12 Aug 2024 03:37:30 -0500 Subject: [PATCH 4/7] Remove WrappingHStack and add LazyVGrid to wrap tags --- AddED+/Models/ProgramModel.swift | 2 +- AddED+/Views/SearchCardView.swift | 4 ++-- AddED+/Views/SearchView.swift | 8 -------- AddED+/Views/UserInterests.swift | 17 ++++++++++++----- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/AddED+/Models/ProgramModel.swift b/AddED+/Models/ProgramModel.swift index 6ad0858..8678803 100644 --- a/AddED+/Models/ProgramModel.swift +++ b/AddED+/Models/ProgramModel.swift @@ -132,7 +132,7 @@ var placeholderTags: [Tag] = [technologyTag, paidTag, artsTag, sportsTag, civicT var inputTag: [Tag] = [businessTag, researchTag, volunteerTag] var ECCChicago = Program(inputName: "Everyone Can Code Chicago", inputDescription: "The Everyone Can Code Chicago initiative was launched as a public-private partnership that expands opportunities for youth to develop coding skills and explore career pathways. Through this initiative, employees at local businesses share their professional experience with youth. And the youth have the opportunity to gain work experience through internships.", inputTime: "2:00 PM - 5:00 PM", inputDays: "Weekdays 06/24/2024-8/02/2024", inputPlace: "Truman College", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, paidTag], idNumber: 1) -var afterSchoolMatters = Program(inputName: "After School Matters", inputDescription: "After School Matters inspires Chicago’s teens to discover their passions, develop skills for life beyond high school, and make friends along the way.", inputTime: "", inputDays: "07/16/2024-07/16/2025", inputPlace: "Chicago, Il", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, paidTag], idNumber: 2) +var afterSchoolMatters = Program(inputName: "After School Matters", inputDescription: "After School Matters inspires Chicago’s teens to discover their passions, develop skills for life beyond high school, and make friends along the way.", inputTime: "", inputDays: "07/16/2024-07/16/2025", inputPlace: "Chicago, Il", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, paidTag, artsTag, sportsTag, civicTag], idNumber: 2) var cyberSecurityProgram = Program(inputName: "Intro to Cybersecurity", inputDescription: "Program Info", inputTime: "07/25/24",inputDays: "08/25/24", inputPlace: "Chicago, IL", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, paidTag], idNumber: 3) var webDevProgram = Program(inputName: "Intro to Web Development", inputDescription: "After School Matters inspires Chicago’s teens to discover their passions, develop skills for life beyond high school, and make friends along the way.", inputTime: "07/25/24",inputDays: "08/25/24", inputPlace: "Chicago, IL", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, paidTag], idNumber: 4) diff --git a/AddED+/Views/SearchCardView.swift b/AddED+/Views/SearchCardView.swift index f5401fb..c6d8218 100644 --- a/AddED+/Views/SearchCardView.swift +++ b/AddED+/Views/SearchCardView.swift @@ -36,8 +36,8 @@ struct SearchCardView: View { } } } - .padding(.trailing, 50) - .frame(maxWidth:300, maxHeight: 20) + .padding(.leading, 25) + .frame(maxWidth:350, maxHeight: 20) HStack { Image(systemName:"star.fill") .frame(alignment:.trailing) diff --git a/AddED+/Views/SearchView.swift b/AddED+/Views/SearchView.swift index bdff126..c112ed8 100644 --- a/AddED+/Views/SearchView.swift +++ b/AddED+/Views/SearchView.swift @@ -56,15 +56,7 @@ struct SearchView: View { .padding() } } -// VStack(alignment:.leading) { -// -// Text("Filters") -// .bold() -// } -// ScrollView { - // SearchCardView(displayedProgram: ECCChicago , areTagsRemovable: false, paddingAmount: 10) - ForEach(searchResults) { program in SearchCardView(displayedProgram: program, areTagsRemovable: false, paddingAmount: 10) } diff --git a/AddED+/Views/UserInterests.swift b/AddED+/Views/UserInterests.swift index b2a78c5..d1f1680 100644 --- a/AddED+/Views/UserInterests.swift +++ b/AddED+/Views/UserInterests.swift @@ -6,7 +6,7 @@ // import SwiftUI -import WrappingHStack +//import WrappingHStack struct UserInterests: View { var tags: [Tag] = placeholderTags @@ -35,11 +35,18 @@ struct UserInterests: View { .background(.white) .cornerRadius(8) ZStack { - WrappingHStack { - ForEach(tags) { tag in - TagRectangleView(displayTag: tag, removable: true) - .fixedSize() + ScrollView(.horizontal) { + LazyVGrid(columns: [ + .init(.fixed(160), spacing: 60), + .init(.adaptive( + minimum: 60), spacing: 78) + ]) { + ForEach(tags) { tag in + TagRectangleView(displayTag: tag, removable: true) + .fixedSize() + } } + .padding(16) } } .frame(width: UIScreen.main.bounds.width-20, height: 250, alignment: .topLeading) From 8e542129e6a8812bb0dd7fccd5cb8f117f902b82 Mon Sep 17 00:00:00 2001 From: prettyalana <129349619+prettyalana@users.noreply.github.com> Date: Mon, 12 Aug 2024 04:04:28 -0500 Subject: [PATCH 5/7] Adjust the LazyVGrid minimum and spacing --- AddED+/Views/UserInterests.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AddED+/Views/UserInterests.swift b/AddED+/Views/UserInterests.swift index d1f1680..5fc472d 100644 --- a/AddED+/Views/UserInterests.swift +++ b/AddED+/Views/UserInterests.swift @@ -12,7 +12,7 @@ struct UserInterests: View { var tags: [Tag] = placeholderTags var inputTags: [Tag] = inputTag @State private var totalHeight - = CGFloat.zero + = CGFloat.zero var body: some View { VStack { @@ -37,9 +37,9 @@ struct UserInterests: View { ZStack { ScrollView(.horizontal) { LazyVGrid(columns: [ - .init(.fixed(160), spacing: 60), + .init(.fixed(120), spacing: 90), .init(.adaptive( - minimum: 60), spacing: 78) + minimum: 40), spacing: 60) ]) { ForEach(tags) { tag in TagRectangleView(displayTag: tag, removable: true) From cdd036bcd17ddfc25b0a34817042e9978a773128 Mon Sep 17 00:00:00 2001 From: prettyalana <129349619+prettyalana@users.noreply.github.com> Date: Thu, 15 Aug 2024 02:15:40 -0500 Subject: [PATCH 6/7] Remove extraneous artTag --- AddED+/Models/ProgramModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AddED+/Models/ProgramModel.swift b/AddED+/Models/ProgramModel.swift index 3a73748..762d099 100644 --- a/AddED+/Models/ProgramModel.swift +++ b/AddED+/Models/ProgramModel.swift @@ -135,7 +135,7 @@ var placeholderTags: [Tag] = [technologyTag, paidTag, artsTag, sportsTag, civicT var inputTag: [Tag] = [businessTag, researchTag, volunteerTag] var ECCChicago = Program(inputName: "Everyone Can Code Chicago", inputDescription: "The Everyone Can Code Chicago initiative was launched as a public-private partnership that expands opportunities for youth to develop coding skills and explore career pathways. Through this initiative, employees at local businesses share their professional experience with youth. And the youth have the opportunity to gain work experience through internships.", inputTime: "2:00 PM - 5:00 PM", inputDays: "Weekdays 06/24/2024-8/02/2024", inputPlace: "Truman College", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, paidTag], idNumber: 1, imageID: "ECC") -var afterSchoolMatters = Program(inputName: "After School Matters", inputDescription: "After School Matters inspires Chicago’s teens to discover their passions, develop skills for life beyond high school, and make friends along the way.", inputTime: "", inputDays: "07/16/2024-07/16/2025", inputPlace: "Chicago, Il", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, artsTag, culinaryTag, paidTag, artsTag, sportsTag, civicTag], idNumber: 2, imageID:"afterSchoolMatters") +var afterSchoolMatters = Program(inputName: "After School Matters", inputDescription: "After School Matters inspires Chicago’s teens to discover their passions, develop skills for life beyond high school, and make friends along the way.", inputTime: "", inputDays: "07/16/2024-07/16/2025", inputPlace: "Chicago, Il", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, artsTag, culinaryTag, paidTag, sportsTag, civicTag], idNumber: 2, imageID:"afterSchoolMatters") var cyberSecurityProgram = Program(inputName: "Intro to Cybersecurity", inputDescription: "Program Info", inputTime: "07/25/24",inputDays: "08/25/24", inputPlace: "Chicago, IL", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, paidTag], idNumber: 3, imageID:"Placeholder") var webDevProgram = Program(inputName: "Intro to Web Development", inputDescription: "After School Matters inspires Chicago’s teens to discover their passions, develop skills for life beyond high school, and make friends along the way.", inputTime: "07/25/24",inputDays: "08/25/24", inputPlace: "Chicago, IL", isVerified: true, ratingsArray: [], tagsArray: [technologyTag, paidTag], idNumber: 4, imageID:"Placeholder") From 464004ff18174c7dbd315a57e362a9022a833268 Mon Sep 17 00:00:00 2001 From: prettyalana <129349619+prettyalana@users.noreply.github.com> Date: Fri, 16 Aug 2024 01:54:24 -0500 Subject: [PATCH 7/7] Remove comments --- AddED+/Views/RatingStarsView.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/AddED+/Views/RatingStarsView.swift b/AddED+/Views/RatingStarsView.swift index 2f5ab10..c3d5330 100644 --- a/AddED+/Views/RatingStarsView.swift +++ b/AddED+/Views/RatingStarsView.swift @@ -63,11 +63,6 @@ struct RatingStarsView: View { Image(systemName:"star") } - - - // Image(systemName:"star") - // Image(systemName:"star.fill") - } }