SamuKata
kavsoft
kavsoft

patreon


SwiftUI 3.0 - Custom Tab Bar With Hero Animation Effect - Matched Geometry - Xcode 13 - WWDC 2021

Source Code For SwiftUI 3.0 - Custom Tab Bar With Hero Animation Effect - Matched Geometry - Xcode 13 - WWDC 2021.


Download Code 👇



SwiftUI 3.0 - Custom Tab Bar With Hero Animation Effect - Matched Geometry - Xcode 13 - WWDC 2021

Comments

How would you Code to get unique Data for each Card List? ScrollView(.vertical, showsIndicators: false) { VStack(alignment: .leading, spacing: 15) { Text(card.title) .font(.title2.bold()) .matchedGeometryEffect(id: "\(card.id)TITLE", in: animation) ForEach(1...20,id: \.self){index in HStack(spacing: 12){ Image(systemName: "swift") .padding() .background(.thinMaterial,in: RoundedRectangle(cornerRadius: 10)) .shadow(radius: 2) Text("Day \(index) of SwiftUI") .fontWeight(.semibold) Spacer() Image(systemName: "play.fill") .font(.title2) .foregroundColor(Color("C12")) } .padding(.vertical,8) .padding(.horizontal) .background(.ultraThinMaterial,in: RoundedRectangle(cornerRadius: 10)) } .opacity(showData ? 1 : 0) } .padding() .padding(.top) }

Kraig Kistler

This is great but i can't get that card background colour to display screen width on different size devices. The detailed view also getting overlapped on iPads if sidemenu is used.

Nogster

It’s cus he’s using the beta version of Xcode, you’re probably using the current version. You can download the Xcode 13 beta from apples website

Mr Tek

I cannot seem to open the Xcode project at all. I receive this error... The project at '/Users/joepolizzi/Desktop/CustomTabBarWithEffect.xcodeproj' cannot be opened because it is in a future Xcode project file format. Adjust the project format using a compatible version of Xcode to allow it to be opened by this version of Xcode.

The Dime Series

Xcode > Product > Scheme > Custom Tab Bar (IOS)

Greg Moore

Imporesionante

jose ayoze san

Please check whether the target is iOS It will be right next to play button It may be macOS if so change that to iOS and build the app

Kavsoft

This won't compile [mac min : Xcode 13 beta] I get an erro that "Cannot find 'CustomTabBar' in scope. However, i see that is there and not getting any compile errors.

Greg Moore

Awesome... thank you

Andrej


More Creators