Комментарии:
So helpful! I do have a question though, and I'm sure other people have had the same... When I switch to a different struct with a navigation link (like a log in screen to a main menu), when I add a new navigation link to the menu and use it; the third page has both the original navigation title that returns to the first page, and a second underneath it that returns to the second page, and it downshifts the entire third page. Does anyone know how to fix this? Thank you so much for your channel and I hope you never stop making these videos!
ОтветитьHi can you explain after tap on login screen how to change root view in swiftui?
ОтветитьHey i am new on swiftui and xcode, i am used to using vs code and prettier. how can i achieve on save code format on xcode like prettier. i have turned on convert exist file on save . There is always empty lines in code i want it to gone away on save
ОтветитьNavigation bar items is depricated, you have to use the .toolbar modifier instead
.toolbar {
ToolbarItemGroup(placement: .navigationBarLeading) {
Button {
} label: {
Image(systemName: "person.fill")
}
}
ToolbarItemGroup(placement: .navigationBarTrailing) {
Button {
} label: {
Image(systemName: "gear")
}
}
}
I know Your are busy with firebase course but Can You Redo this tutorial as navigationView is deprecated and all other tutorials are complicated
ОтветитьHello Nick, the NavigationView is deprecated since 2022. Could you make a video about the NavigationStack? Thanks a lot for your fantastic SwiftUI courses!
ОтветитьSwiftUI is really powerful and much better than UIKit from what I see - I am actually learning this to build my own prototype in xCode for my app project and got lost in UIKit at some point: with storyboards, segues, tab bars and limitation to have a sheet triggered from only one button from the tab bar in UIKit. I have gone back to the previous clip PopOverBootcamp and implemented a navigationView in the second screen and it worked like a charm ( so the idea to have navigation views within the same sheet, and not open another one on top and another one with every link to a new segue like in UIKit is amazing! - something I wasn't able to achieve or find how to do it in UIKit. Indeed your content here should have had more views! pure gold for the ones who want to learn how to do it the right way !
ОтветитьpresentationMode.wrappedValue.dismiss() is now deprecated.
use
@Environment(\.dismiss) private var dismiss
One day, I will meet you and thank you for everything you have done!, each of your videos are so well made and have help me out so much !
ОтветитьYour video is super helpful but I have a question. How to I hide the buttons above my navigationlink so it does not show up on my second screen.
ОтветитьExcellent Language! I am coming from a react native background and it's just so similar, but way more intuitive and simple. Swift is just simply amazing. And you explained it so beautifully.
ОтветитьGreat video, but keep in mind that this is deprecated, so now apple want us to use NavigationStack instead.
ОтветитьHey Nick !! Your videos are amazing but there are some tools deprecated. Isn't it possible to talk about the tools deprecated ?
Ответитьcannot use .navigationBarItems right now(22.11.04) i made same UI with
.toolbar {
ToolbarItem(placement: .navigationBarLeading) {
Image(systemName: "person.fill")
}
ToolbarItem(placement: .navigationBarTrailing) {
Image(systemName: "gear")
}
}
anyone who have better ideas, please comment below
Beautifully explained. Glad I found this channel today, event if it's quite late
ОтветитьNick , Thank you again for your helpful tutorial 🤎🤎
ОтветитьAmazing video. Any plans to redo, or re-upload this video, now that iOS 16 is out and NavigationView got a complete overhaul?
ОтветитьGreat video. Any tips on dismissing the entire stack at once rather than going back each time?
ОтветитьIf you wanted to can you also turn the other 3 hello worlds into naviagation links aswell? can you do multiple navigation links in the list
ОтветитьHow many people are using SwiftUI in the world? You deserve more subscribers
ОтветитьHey its been long time upen this video but can you show .isDetailLink stuff how to rotate between like viewA->viewB->viewC->viewA
ОтветитьHelpful, Thanks a lot
ОтветитьIs there a limit to number of navigation links, or entries in navigation view? After I did 10 entries,I get a compile error….extra argument in call
ОтветитьGreat video as usual Thank you so much
Ответитьhmm seems like navigationBarItems has been deprecated
ОтветитьGreat video! bought you 3 coffee's to keep you going with all these fantastic video's....bob
ОтветитьHey, I'm trying to add the ScrollView() ontop of my Image("background") but for some reason my image always overlaps the scrollView is there a solution to this?
Ответитьthank you very much
ОтветитьGood stuff thank you. I was thinking along the about getting from the third screen back to the first without visiting the second view on the way?
ОтветитьContinuing with my questions : one of two, I am either doing something wrong or it can't be done who I have my setup. I am have custom shapes (I would like to use them as buttons/navegationlink label) I have a ForEach loop within a ZStack displaying 6 of these navegationlinks, each to a different destination. Result: they do display, but upon clicking each one, only the last one is selected, and thus can only segeway to the last View! What am I doing wrong? is there an issue generating navegationlinks within a ForEach within a ZStack? thanks Nick!
ОтветитьHi,
1) Is it possible in an argument title of NavigationLink to pass anything instead of String?
2) How I can set any modifier(.font(.title2) .fontWeight(.semibold) to a title(String) argument of NavigationLink?
Thank you
Hi, excelente video. Two questions : 1) Can I add an Image(systemName()) to the NavigationTitle()? 2) can I put the .NavigationLink() inside a .OnTapGesture?
ОтветитьGreat tuts Nick. A possible video idea: Common errors and how to solve them! Below are a few I've encountered again and again while learning SwiftUI. Troubleshooting them is largely difficult simply because "I don't know what I don't know" (ie - vocabulary, how to read apple documentation, common solutions to common problems, etc). Working my way through this Bootcamp so if you've already done one, please link! Thanks for your passion.
- Unable to infer complex closure return type; add explicit type to disambiguate
- Type '()' cannot conform to 'View'; only struct/enum/class types can conform to protocols
- Missing arguments for parameters 'nameOfVar' in call --- And when I try to add arguments, by typing View(arugment: $parameter), I get the error: Use of unresolved identifier '$myVarNameHere' (these two errors shows in the "Preview" code at bottom and relates to any @Binding var I've included within the view)
great, thanks a lot!
ОтветитьLets get Coding
Ответитьgreat!!! thank you
Ответитьit would be great to put the problems one might face by putting "MyOtherScreen" in another navigation view because It took me two weeks to figure it out. again thanks for your videos. I found it in a nick of time. if I'm right putting "MyOtherScreen" in another navigation view will make the screen look funny at the top when you segue from the first screen to the next screen. it creates too mush extra space that is suppose to be for a navigation title. at this point I'm changing my instagram bio to software developer.
ОтветитьSure, I am excited.....
ОтветитьThank you for your work!
its one of the most understandable video that I watched about navigation links with swiftui.
But now im stuck when im trying to link login and password button with firebase.
Do you have any content about it on your channel ?
//sorry for my English)
Is it possible to resize the navigation bar ? To use it as a header of the view ?
Thank you
Hey i got a question, for that third screen. I tried using navigation link to go to a new link but for some reason my "back" button keeps getting added instead of it being replaced so say my first view is inboxes i click the navigation link and then it would move to the messages views there would be a back button that says inboxes (still normal) but then from that second page when i click a navigation link to a third page then the back button that says inboxes is still there PLUS underneath it there's a back button for me to go to messages as well. could you help me please?
ОтветитьExcellent tutorial.... amazing. Thank you so much. Real knowledge. Keep going....
Ответитьis possible to make styling on "ALL INBOX", example change color ?
Ответитьgreat video
Ответитьmake some video on advanced topic like firebase upload image in list and some others SwiftUI advance.
Ответить