Being able to move around in our apps is essential but we need to know the different types of segues and how they effect our app navigation. Let me know what you guys would like to see next.
+Lim Joseph thanks for the positive feedback! I’m actually in the process of wrapping up a complete beginner tutorial series that covers all of these topics but goes through building a basic app step by step. I’ll share more details with the channel shortly
12:30 is how to segue to a different storyboard view, via code, but there USED to be a way to do this with drag-drop interface builder-- has that been deprecated?
I miss the explanation of embedded segues and how to build them, programmatically. I still appreciate your content for the introduction into segues, at all.
13:56 Does this mean that if we delete navigation controller from storyboard our optional unwrapping on line 29 will give an exception? shouldn't we guard that?
No, because the navigation controller is marked at optional, and because pushViewController is optionally chained via the ? nothing bad will happen if the navigation controller happens to be nil. If we needed to actually do something on the navigation controller, then yes, a guard let or if let check would be required to safely access the navigation controller in the event of it possibly being nil. If we did navigationController!.pushViewController(...) and the nav controller is nil, we'd crash immediately.
Hi Thank you for this video! it was very straight forward. I am wondering if we need to name the button as a segue or if we can just name the button based on its action? like for example, I am creating a game app that takes users to the next segue once the "START" button has been clicked, do we need to name that button as segue or can it just be given a name and coded as a segue?
Thank you for this video! Question: Why would you use a programmatic approach instead of using the storyboard? Using storyboard just seems more practical and faster. Any insight would be appreciated!
Thank you for your great tutorial video. I wonder where could I get help on passing the value of variables from one viewController to an other. I suppose my question may be too much to be taught by a youTube video. Thank you, anyway
When you create your UIViewController, if you chose "cocoa touch class" instead of "swift file" it would automatically make a nice View Controller subclass for you. Let the IDE do the work.
Is it possible to create a segue for a line of code? If I used a search bar to create a list of items - can those items be segued to its own associated view controller? Many thanks.
Yeah you can segue for any item in your table view. If your table view is dynamic, you can programmatically segue to any view controller based upon the selected item and send that selected item to the destination view controller. You can apply the same idea to static table views as well. Based on your question are you using a search bar controller?
Ah I see, yeah you can segue to anything really you just need the view controller that you want to go to and you can execute a segue programmatically or through the prepareForSegue route.
Being able to move around in our apps is essential but we need to know the different types of segues and how they effect our app navigation. Let me know what you guys would like to see next.
This video is too underrated. It deserve more likes! Straight to the point without unnecessary explanation to further confuse newbies. I love it.
+Lim Joseph thanks for the positive feedback! I’m actually in the process of wrapping up a complete beginner tutorial series that covers all of these topics but goes through building a basic app step by step. I’ll share more details with the channel shortly
ty ty ty ty ty ty easy finally someone good
Great video. Thanks!
You cannot imagine how much you help me, segue in storyboard for me was a magical and umbeatable thing ! Thank you
Searched for 2 hours how to transition programmatically.. Thanks a ton!
Detailed and easy to understand!!! How come I can only give just one like!!👍
This is exactly what I was looking for! Using the Storyboard and NOT SwiftUI or just code
Another concise and straightforward tutorial. The flow and the explanation is perfect.
+Desolation Dispute thanks! Glad you found it helpful.
apple is gay ,samsung is king
Very good video for newbie like me. I always come to Code Pro to learn the basics, before I want to dive into deeper topic.
Thank you so much sir.
Thanks for the info!
how to segue from uiview class to uiviewcontroller sir
Thanks for the concise explanations! Really enjoyed it, and learnt a lot!
Is there any way to change how the back button looks, I have a game on my second page and it doesn't really fit it with my game style
Nice tutorial bro! it's very simple to understand your explanation! Thanks about your support!
12:30 is how to segue to a different storyboard view, via code, but there USED to be a way to do this with drag-drop interface builder-- has that been deprecated?
how to Segues diferent story board
Amazing video I was looking the same video for my project, Thank you so much
I miss the explanation of embedded segues and how to build them, programmatically. I still appreciate your content for the introduction into segues, at all.
As a beginner of Swift programming, you help a lot. Thank you!
13:56 Does this mean that if we delete navigation controller from storyboard our optional unwrapping on line 29 will give an exception? shouldn't we guard that?
No, because the navigation controller is marked at optional, and because pushViewController is optionally chained via the ? nothing bad will happen if the navigation controller happens to be nil. If we needed to actually do something on the navigation controller, then yes, a guard let or if let check would be required to safely access the navigation controller in the event of it possibly being nil. If we did navigationController!.pushViewController(...) and the nav controller is nil, we'd crash immediately.
IOs dosnt let u do shit m,apple is gay, android is king
Nice, increased font size! Another awesome tutorial!
+Charles Ferreira hah I didn’t forget and thanks!
An extremely useful tutorial... 5 stars.
my app is crashing when I try unwrap navigationController. Any advice appreciated.
Hi Thank you for this video! it was very straight forward. I am wondering if we need to name the button as a segue or if we can just name the button based on its action? like for example, I am creating a game app that takes users to the next segue once the "START" button has been clicked, do we need to name that button as segue or can it just be given a name and coded as a segue?
How to reduce the speed of transaction?
Great video! In Xcode 12 creating a segue shifts the view controller down a bit... how can this be avoided?
Hi! I am having the same problem. Did you find a way to sort this at all?
@@georgiebrough3912 no, I switched to Glide to make my app since I realized I hate coding😂
Thank you for this video! Question: Why would you use a programmatic approach instead of using the storyboard? Using storyboard just seems more practical and faster. Any insight would be appreciated!
can u provide link for source code?
Thank you for your great tutorial video. I wonder where could I get help on passing the value of variables from one viewController to an other. I suppose my question may be too much to be taught by a youTube video. Thank you, anyway
Could I do segues programmatically without an @IBAction? I'm not using storyboard at all.
king
Why do your fonts look so small?
by selecting 'show' on the segue, i wont get a Back Button. Why is that?
Bcz ur arrow was not pointing to a navigaton contrllr
Programmatic UI is deleting Storyboard file before you start work.
me with less than 24 hours to get started and finish my college project: it's show time
Finished at around 11pm. Haven't slept for the last 24 hours. Think I'mma get a 90 boi
When you create your UIViewController, if you chose "cocoa touch class" instead of "swift file" it would automatically make a nice View Controller subclass for you. Let the IDE do the work.
Is it possible to create a segue for a line of code? If I used a search bar to create a list of items - can those items be segued to its own associated view controller? Many thanks.
Yeah you can segue for any item in your table view. If your table view is dynamic, you can programmatically segue to any view controller based upon the selected item and send that selected item to the destination view controller. You can apply the same idea to static table views as well. Based on your question are you using a search bar controller?
Thanks a lot for answering :) I'm just using a search bar not the controller.
Ah I see, yeah you can segue to anything really you just need the view controller that you want to go to and you can execute a segue programmatically or through the prepareForSegue route.