var devTechieCourses = [ "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3" ]
struct ParallaxEffect: View { var devTechieCourses = [ "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3" ] var body: some View { VStack { Text("DevTechie Courses") .font(.largeTitle) ScrollView { }.ignoresSafeArea(edges: .vertical) } } }
struct ParallaxEffect: View { var devTechieCourses = [ "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3" ] var body: some View { VStack { Text("DevTechie Courses") .font(.largeTitle) ScrollView { ZStack { GeometryReader { geo in Image("imageSample") .resizable() .scaledToFill() .offset(y: -geo.frame(in: .global).origin.y / 2) } VStack(alignment: .leading, spacing: 40) {} .padding(.top, 100) } }.ignoresSafeArea(edges: .vertical) } } }
struct ParallaxEffect: View { var devTechieCourses = [ "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3", "Mastering SwiftUI 3", "Machine Learning in iOS", "Goals app in SwiftUI", "E-Commerce App in SwiftUI 3" ] var body: some View { VStack { Text("DevTechie Courses") .font(.largeTitle) ScrollView { ZStack { GeometryReader { geo in Image("imageSample") .resizable() .scaledToFill() .offset(y: -geo.frame(in: .global).origin.y / 2) } VStack(alignment: .leading, spacing: 40) { ForEach(devTechieCourses, id: \.self) { course in Text(course) .font(.largeTitle) .foregroundColor(.white) .padding() .background( RoundedRectangle(cornerRadius: 25).frame(height: 100).opacity(0.5) ) } } .padding(.top, 100) } }.ignoresSafeArea(edges: .vertical) } } }
With that we have reached the end of this article. Thank you once again for reading. Subscribe to our weekly newsletter at https://www.devtechie.com