iOS Navigation Controller Tutorial | Xcode 11.4 Swift 5.2

Поделиться
HTML-код
  • Опубликовано: 1 ноя 2024

Комментарии • 140

  • @seanallen
    @seanallen  4 года назад +8

    Watch Next - UISegmentedControl - Storyboard & Programmatic - Swift - ruclips.net/video/ESOZa40GUHk/видео.html

    • @Jock3R87
      @Jock3R87 4 года назад +1

      Sean Allen Hi mate can you please make a tutorial on protocol oriented programming using actual new xcode project. I have read alot over news but most of the leopard has given basic example... it will be great help sir if you could make video. Not sire if i am demanding anything wrong in this current world crisis

    • @rezafirouzbakht5570
      @rezafirouzbakht5570 4 года назад +1

      ​Hi, I had a lot of trouble understanding protocols and delegates, here is some articles I found useful I hope they help you:
      ruclips.net/video/DBWu6TnhLeY/видео.html
      Sean example of boss and intern is fantastic
      try to implement that in below examples this approach really helped me to better understand this topic
      learnappmaking.com/protocols-swift-how-to/
      learnappmaking.com/delegation-swift-how-to/
      and below links are good if you want to see protocols and delegates in a real project
      www.raywenderlich.com/477-design-patterns-on-ios-using-swift-part-1-2#toc-anchor-012
      www.raywenderlich.com/476-design-patterns-on-ios-using-swift-part-2-2

    • @seanallen
      @seanallen  4 года назад

      I probably won't make a video on POP because I don't have any real world experience with it. I'm not super familiar with the topic.

    • @Jock3R87
      @Jock3R87 4 года назад +2

      Sean Allen Hi mate.. thanks for your reply. Nowadays POP is recommended everywhere so requested you. I am working in iOS since last few years but not getting confidence in same. Please keep posting new videos. Really thankful. Your videos just helps us to clear the all iOs stuff.

    • @Jock3R87
      @Jock3R87 4 года назад

      reza firouzbakht cheers mate.. i am into this but dont know probably not getting which stuff have to use where.

  • @veeramadaan9456
    @veeramadaan9456 2 года назад +1

    I have watched SO many videos trying to figure out the navigation controller and I finally cracked it from yours..thank you so much!

    • @seanallen
      @seanallen  2 года назад

      Happy to help, Veera!

  • @bartoszdolewski4915
    @bartoszdolewski4915 4 года назад

    They titled me senior iOS developer at work but I still watch your videos that supposed to be for beginners. I stuck so much in creating UI in code that I totally forgot how to change navigation controller and it's properties in XIB or Storyboard. Thanks for video!

  • @RandomTube206
    @RandomTube206 2 года назад +9

    That feeling you get when you are looking for an explanation, and someone has created the perfect snippet size video and just straight up tells you exactly what you need to know. Thanks Sean, absolute legend! So simple, succinct and engaging. Great work!
    I've subscribed and liked!

    • @seanallen
      @seanallen  2 года назад +2

      Happy to help, Toby!

  • @persistent-s
    @persistent-s Год назад +2

    Your teaching style is great, thanks a lot Sean✌☺

    • @seanallen
      @seanallen  Год назад +1

      Glad you enjoy it, Yash!

  • @micromyuze
    @micromyuze Год назад +1

    Using a deck of cards to explain was extremely helpful! Your teaching style is simple enough that even I can understand. Subscribed!

  • @jaylensmith6308
    @jaylensmith6308 2 года назад

    Sean you're honestly a genius for promoting his courses look based off examples of navigation bars and modals

  • @eo4295
    @eo4295 3 года назад +7

    Sean, has anyone ever told you that you are an actual GOAT, like dude the amount of times you saved me, u deserve 1MIL dude, u really do.

    • @seanallen
      @seanallen  3 года назад

      Thanks for the kind words 😀. Happy to hear I could be of some help.

  • @michaelprenez-isbell8672
    @michaelprenez-isbell8672 Год назад

    Thanks for leaving this up. I had to remind myself how to do this after a couple of years of doing just SwiftUI :-)

  • @TahaCodes
    @TahaCodes 2 года назад +1

    Hey Sean, just wanted to say thank you for such a great tutorial!

    • @seanallen
      @seanallen  2 года назад

      You're very welcome, Taha 😀

  • @michaelangelosilva1337
    @michaelangelosilva1337 3 года назад

    I was also confused in navigation controller when doing it via storyboard. But when you say its like a “deck of cards”, i perfectly understand it! Good Job Sean! Thanks!! 🙂

  • @RickPlaysStick
    @RickPlaysStick 4 года назад +2

    Thanks Sean. I only knew how to do this programacally as I learned in your take home project course. I think I need to do more learning about story boards.

  • @sandeepsahanicodes
    @sandeepsahanicodes 2 года назад +1

    Very helpful tutorial ! Thanks Sean

    • @seanallen
      @seanallen  2 года назад +1

      Happy to help, Sandeep!

  • @abubakarjama4545
    @abubakarjama4545 Год назад

    My first ever video since I've started this app development course and you're actually speaking English! Lmao maybe it was a random video to start with but everything you explained was really informative and made perfect sense. Gonna check out your other videos, Legend ;)

  • @doomerconsumer
    @doomerconsumer 4 года назад +7

    This is exactly what I was looking for, thank you so much!

    • @seanallen
      @seanallen  4 года назад +1

      Glad I could help!

  • @gpetty599
    @gpetty599 3 года назад +1

    Hey Sean, loved your video! I just really started getting into Swift IOS Development after years of giving up because of constraints and other little things. I loved how you mentioned the Navigation Controller just being blank because I was so confused about that on my project. I was worried Xcode was going to through me errors because it was blank lol. But thanks for the card analogy! Keep doing what you're doing!

    • @seanallen
      @seanallen  3 года назад +1

      Happy to help! This confused me when I was first learning as well. Once I figured out that the Navigation Controller wasn't a screen itself, but a container that holds other screens - that's when it clicked for me. So I try to explain it that way to help others.

  • @meetthanki5218
    @meetthanki5218 4 года назад +2

    you makes me understand so easily!! keep up the good work!!

    • @seanallen
      @seanallen  4 года назад +1

      Happy to help, Meet!

  • @Arash72af
    @Arash72af 4 года назад +2

    Your videos are always the best, it's like core learning and every damn essential every newbie needs, thank You for the effort and time, keep it up

    • @seanallen
      @seanallen  4 года назад

      Thanks Arash. Glad you like them 😀

  • @JamesEtallaz
    @JamesEtallaz 2 года назад

    Exactly what I need!
    Bonus question: maybe you can show how to edit the root Navigation Controller navbar size?

  • @TerryInUSA
    @TerryInUSA 3 года назад

    Thank you so much for an explanation that was super easy to follow.

  • @hustlerking4295
    @hustlerking4295 Год назад

    Absolutely beautiful way of teaching! Thank you so much for making the topics beginner friendly! Love.

  • @ChildishKevino
    @ChildishKevino 3 года назад

    Very helpful video i just subscribed, you have a great way of explaining things

  • @ralphGabbbbbb
    @ralphGabbbbbb 4 года назад +1

    Cool stuff bro @Sean Allen, really informative and really easy to understand. I've been an Android developer for over 6 years and just learning Swift development, this tutorials rocks !

    • @seanallen
      @seanallen  4 года назад

      Happy to hear it helped, Ralph!

  • @videoelisamurray694
    @videoelisamurray694 2 года назад

    Sean, YOU ARE THE GOAT! Thank you thank you thank you

  • @LiWanda
    @LiWanda 4 года назад +2

    Thank you! It's clear and updated with new Xcode.

    • @seanallen
      @seanallen  4 года назад

      Happy to help, Wanda!

  • @fadifindakly3850
    @fadifindakly3850 3 года назад +2

    Nice and helpful tutorial! 👍🏼👍🏼

  • @nobinjacob1634
    @nobinjacob1634 3 года назад +1

    Just Wow... Under 11 mins that's too much great stuff 🔥

  • @fernando73820208
    @fernando73820208 4 года назад +1

    Amazing Video, very easy to understand... hope to see more videos like this... GOOD JOB!

    • @seanallen
      @seanallen  4 года назад

      Glad you enjoyed it 😀

  • @travismorris3395
    @travismorris3395 4 года назад +2

    YOU ARE A KINGGGGG!!!!! THANK YOU!! :D Keep sharing your light!!!

    • @seanallen
      @seanallen  4 года назад

      Glad you enjoyed it.

  • @dounzzz
    @dounzzz 3 года назад

    Thankyou so much. Your teaching style is brilliant. How do we swipe between the views without a button. Thanks

  • @mrmillmill
    @mrmillmill 4 года назад +1

    Hi Sean, Great courses! Thank you for sharing. Always great when you show the programmatic approach at the end. Really enjoy those videos from the raw programming view.

    • @mrmillmill
      @mrmillmill 4 года назад

      Also, would be great to see a culmination of videos like this that create an app relevant to current popular apps. I realize that is alot to cover. Thanks again for your instruction.

    • @seanallen
      @seanallen  4 года назад

      Hey Mike, glad you liked the video. Like you say, creating an entire app in RUclips videos is a lot. I save that kind of detail for my courses which usually contain anywhere from 50-60 videos (it's a LOT 😀). You can find information about them at seanallen.teachable.com

    • @mrmillmill
      @mrmillmill 4 года назад

      Sean Allen thank you for the response. I will check it out Sean.

    • @mrmillmill
      @mrmillmill 4 года назад

      You have any courses on beefed up search engines in app, third party payment gateways, or approaches to uploading downloading images from an app to a database even if traffic increases drastically?

    • @seanallen
      @seanallen  4 года назад +1

      I don’t cover those specific topics at the moment. I’ve only just begun creating courses.

  • @vamsi3877
    @vamsi3877 4 года назад +4

    I am the only one who is waiting for advance IOS content from Sean

    • @lukeroberts3235
      @lukeroberts3235 4 года назад

      Yesss

    • @seanallen
      @seanallen  4 года назад +1

      In time... After I get this course out, I'm taking a break from courses and getting back to regular content. Then you'll see more advanced stuff. There's only so many hours in the day.

    • @waylans
      @waylans 4 года назад +1

      Sean Allen Id like to see a video how you handle user data as they sign into an app and move from VC to VC. Do you pull data after verification and populate a singleton for example?

    • @seanallen
      @seanallen  4 года назад +2

      That's how I'm doing it in my current app. I have a "SessionManager" singleton that manages my user.

  • @RahulSharma-ru9yp
    @RahulSharma-ru9yp 2 года назад +1

    Nice Explanation Sean....

    • @seanallen
      @seanallen  2 года назад

      Glad it was helpful, Rahul 👍

  • @allin6074
    @allin6074 2 года назад

    best teaching style ever thx bro

  • @nileshjdarji
    @nileshjdarji 4 года назад +1

    Hi Sean. I have been using these three lines of code to remove the translucent from navbar, remove the thin line from the navbar and get the back button to show only arrow:
    // Sets the navigation bar background image to empty UIImage to make it transparent.
    navigationController?.navigationBar.setBackgroundImage(UIImage(), for: .default)
    // Removes thin line under the navigation bar.
    navigationController?.navigationBar.shadowImage = UIImage()
    // Sets the back button with only arrow (

  • @ondrejwinter1735
    @ondrejwinter1735 4 года назад +1

    Very nice tutorial. Thanks buddy!

    • @seanallen
      @seanallen  4 года назад

      Glad it was helpful!

  • @licutricu
    @licutricu 3 года назад

    thank you for your explanation! it helped me a lot :)

  • @avneetsingh2010
    @avneetsingh2010 3 года назад

    Great video... When I put background image on Login Screen it is not filling whole screen due to navigation item at the top... Please suggest how to make it on full screen?

  • @RomanTataurov
    @RomanTataurov 3 года назад

    Thank you! Really awesome tutorial.

  • @crazyice-cream7794
    @crazyice-cream7794 4 года назад

    Hi Sean, Great courses! Thank you a lot. In my case Navigation Back Button WORKS but does not appear. What can be a problem?

  • @alexhernandez2367
    @alexhernandez2367 Год назад

    Awesome video! Thank you

  • @bmt22033
    @bmt22033 4 года назад +3

    Hi Sean - what's the difference between a "Show" segue and a "Show Detail" segue? And "Present Modally" vs "Present as Popover"? Thanks for these videos, by the way!

    • @taylermoosa
      @taylermoosa 4 года назад +3

      stackoverflow.com/questions/25966215/whats-the-difference-between-all-the-selection-segues

    • @bmt22033
      @bmt22033 4 года назад +1

      @@taylermoosa Thanks for the link!

  • @JTruth
    @JTruth 4 года назад

    Can you make a tutorial on how to make a top tab bar controller!

  • @Grepsoft
    @Grepsoft 3 года назад

    Very helpful. Thank you

  • @tonyli7014
    @tonyli7014 2 года назад

    what a great metaphor!

  • @oliverglaettli6564
    @oliverglaettli6564 3 года назад

    Great explanation! Since latest IOS release it seems that the Navigation back button is now changing it's behaviour: not anymore as sensitive than before (needs sometimes 2-3 hits to go backup) and when lasting a bit longer on the back button this "Menu" is appearing with the possibility to go back or even to a previous VC (2 steps back). I don't want this as it's confusing for users and not handy. Sean, how can we get rid of this new embedded menu?

  • @BreakingBarriers2DIY
    @BreakingBarriers2DIY 4 года назад

    Great presentation style! I'm laughing as I get weirded out...while on my screen the "System Pink" is looking very...Red...almost identical to your shirt colour.
    Thanks for sharing this. I needed a nice simple reminder when getting back into Xcode

  • @Denulus
    @Denulus 3 года назад

    Amazing and simple!

  • @yyds7195
    @yyds7195 3 года назад +1

    I have applied everything but when I run it the program doesn't show up. I don't know why.

  • @22dpond
    @22dpond 4 года назад

    great video. thank you

  • @makeinpro
    @makeinpro Год назад

    so there's issue on ios 14.0 UINavigationBar decoded as unlocked for UINavigationController, or navigationBar delegate set up incorrectly. Inconsistent configuration may cause problems.

  • @allin6074
    @allin6074 2 года назад

    thank you so much sir

  • @Максим-л3ъ5ч
    @Максим-л3ъ5ч Год назад

    thanks from Russia

  • @edwardcreed1473
    @edwardcreed1473 3 года назад

    Thank you a lot. Very nice explicated and is very usefull. Thanks for this video i'll recomend you with my partners.

  • @apreslavague1557
    @apreslavague1557 4 года назад

    What you said around 6:50 saved me ahah thx good video (for me as a noob lol)

  • @cristopher679
    @cristopher679 4 года назад +1

    you're the best man, Thanks.

  • @horus6915
    @horus6915 3 года назад +1

    6:47: It was me. I tried to find why nothing appears for a bunch of 30 minutes ... :(

    • @guilhermegolfetto4754
      @guilhermegolfetto4754 3 года назад

      8:14 It was me. I lost an entier hour clicking and not sure what I was doing wrong from Large Titles.
      Sometimes you win, sometimes you learn right ?

    • @horus6915
      @horus6915 3 года назад

      @@guilhermegolfetto4754 Sure x)

  • @Денис-ж3ф5р
    @Денис-ж3ф5р 3 года назад

    Okay, how to do the same programmatically? I'm actually surprised that the company that hired me wants me to use UIKit, I've been learning SwiftUI for a little while, but it's my first job, I can't complain, I'd better learn UIKit.

  • @mariamsargsyan608
    @mariamsargsyan608 3 года назад

    thanks very much

  • @makeinpro
    @makeinpro Год назад

    Is this tutorial use storyboad or seugeu?

  • @azadbaljeet
    @azadbaljeet 4 года назад

    Please explain nested UINavigationControllers in same storyboard and switch ViewController of one navigationController to viewController of Second NavigationController

  • @aviadsabag8193
    @aviadsabag8193 4 года назад

    Hi sean, sorry for the noobie question, is there a difference between cocoatouch file to a regular file? :)

  • @tristanlistanco7308
    @tristanlistanco7308 3 года назад

    sir how about in a gridview with dynamic data how can i navigate?

  • @sreeharik7005
    @sreeharik7005 4 года назад

    Saved me a day...... Thank you so much

  • @fernando73820208
    @fernando73820208 4 года назад

    hey hi, I have a question, I been using xcode on a 13 macbook pro & when i open quicktime my mac starts to overheat after a few minutes, what do i have to do to solved this issues. i'm trying to upload xcode videos to youtube...help please

  • @heriprasetyo6452
    @heriprasetyo6452 4 года назад +1

    Thank you !

  • @igadev48
    @igadev48 3 года назад

    does this navigation controller just like navigation component from android?

  • @LebenWerden
    @LebenWerden 3 года назад

    Hello Sean. How you can store a custom butttom and use it in anothr projects? Its time-killing to create a custom buttom in every new project.

    • @seanallen
      @seanallen  3 года назад

      You can save it as a .swift file somewhere (on your computer, google drive, dropbox, etc...), then you can bring in that .swift file to whatever project you want. For example it would be CustomButton.swift.

  • @carbo0n6381
    @carbo0n6381 3 года назад

    I did the same process but whenever I run the app it crashes and says this : Thread 1: "Could not load NIB in bundle: 'NSBundle (loaded)' with name 'UIViewController-BYZ-38-t0r' and directory 'Main.storyboardc'"

  • @AmitBiswastunebox
    @AmitBiswastunebox 4 года назад +1

    Awesome @seanallen . great Video .

    • @seanallen
      @seanallen  4 года назад +1

      Thanks! Glad you liked it.

    • @AmitBiswastunebox
      @AmitBiswastunebox 4 года назад

      Sean Allen I am now doing your take home project. That’s kind of super fun. Sean why not you do some advanced algorithm problem solving video . I am having hard time to implement BFS/ DFS , Graph , Heap , Recursion . I believe all the iOS developer need those coz in interview they ask to solve those kind of problem . Please do that when you get chance . Thanks 🙏 in advance.

    • @seanallen
      @seanallen  4 года назад +1

      To be honest, I'm not terribly strong when it comes to those. As someone who didn't come from a computer science background, I don't have the foundation. All I know of those has come from studying for interviews.

    • @AmitBiswastunebox
      @AmitBiswastunebox 4 года назад +1

      Sean Allen you are awesome sean whatever you are doing that’s mind blowing . Still respect ✊

  • @GorillaDev417
    @GorillaDev417 2 года назад

    If we have 5 views and want to navigate from view 1 to view 5 vs view by view is this possible with native implementations or will it require some “hacking”?

  • @Flipping_myFinds
    @Flipping_myFinds 3 года назад

    HELP!! Can someone please tell me how to change the back button tint color in only one view controller….

  • @tariqAlmazyad
    @tariqAlmazyad 4 года назад +2

    What also I noticed + learned from my mistakes is that whenever you are trying to pass values using prepareSegure function is that it is different when you have UINavigation.
    Here is an example, and I hope you make a simple tutorial about it .
    // With UINavigationController
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
    if let navController = segue.destination as? UINavigationController,
    let secondVC = navController.topViewController as? SecondVC{
    // do the following
    }
    -----------------------------------------------------------------------------------------------
    // Without UINavigationController
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
    let secondVC = segue.destination as? SecondVC
    // do the following
    }

  • @yewjun1
    @yewjun1 4 года назад

    Does anyone know how to change the status bar colour when each view is embedded in the navigation controller stack?

  • @mahmutyazar6976
    @mahmutyazar6976 2 года назад +1

    All the problem is present modally instead show 🤦🏽‍♂😂 thank you ! 🙏🏼

    • @seanallen
      @seanallen  2 года назад +1

      Happy to help, Mahmut!

  • @ProfessorBraus
    @ProfessorBraus 4 года назад

    how do you do this programmatically?

  • @shahriarhossaindev
    @shahriarhossaindev Год назад

    How swipe to back navigation?

  • @sachinsingla6537
    @sachinsingla6537 4 года назад

    How can i center align the title in the bar?

  • @shreyan9088
    @shreyan9088 3 года назад

    Nice 👍

  • @rezafirouzbakht5570
    @rezafirouzbakht5570 4 года назад

    Can i customize right to left animation?

    • @seanallen
      @seanallen  4 года назад +1

      I believe by changing to a right to left language, you receive that functionality automatically. See this for details - www.hackingwithswift.com/example-code/uikit/how-to-support-right-to-left-languages

    • @rezafirouzbakht5570
      @rezafirouzbakht5570 4 года назад

      I mean how can i create a custom animation for presenting a View Controller for example when i touch go to pink i want to see that pink VC comes from top to down . Can you make a video about it later 😅

    • @seanallen
      @seanallen  4 года назад +1

      I probably won't make a video about that because that's a custom navigation scheme for your app and likely against Apple's Human Interface Guidelines. By all means, create the app how you want it. I'm just not going to put out content like that.

    • @rezafirouzbakht5570
      @rezafirouzbakht5570 4 года назад

      My idea was a video that you do something like this www.raywenderlich.com/2925473-ios-animation-tutorial-custom-view-controller-presentation-transitions.
      sorry if I didn't made that clear Sir. and you're right customizing navigation controller animations is against Apple's Guidelines.

  • @chriswill5799
    @chriswill5799 4 года назад

    hey man, literally copied you 100% and for some reason when I go onto the large title view, the title does not change colour for whatever reason??? Super confused

  • @R4pHL
    @R4pHL 3 года назад

    What is that APPLE BRAIN WASHING ACADEMY if in Xcode 12&13 if I use show segue, and it always presents modally, no back button ... I did it 10 times, restarted,, what is going on with those DEPRECATIONS a tons of bugs omg ! ? Annoying.. Apple ,, please stop developing Apple if you don't like young suicides from constantly changing your APIs and much worse if things are even not working. Each Xcode & Swift update will make mess everywhere. . So if this video was posted 2021 Mar 28,,, we already got trouble

  • @gregtomkins5938
    @gregtomkins5938 3 года назад

    Very helpful but I think you spend too much time fiddling around with colors and stuff that's unrelated what you are really trying to teach us.

  • @wingwing2683
    @wingwing2683 3 года назад

    Thanks a lot!