Create Tab Bar App with Navigation in Swift 5 (Xcode 15) - 2024 iOS

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

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

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

    Enjoy my teaching style? Learn to build the TikTok App from scratch with my course!
    ios-academy.teachable.com/p/building-tiktok-for-ios

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

    Thanks

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

    Bro, this just saved me so much time. I built an app in koltin on android and it took me forever to implement stuff and get the tabs working right... you just literally allowed me to mass produce my pages in less than 10 min... props

  • @薰木神
    @薰木神 2 года назад

    Thank you very much, its very helpful!!!!!

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

    How did you create that tab bar you have at the preview image of the video? Specially the alien icon. Thanks!

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

    Thank you Your for the vidéo i did The tabBar by code but how can I add content to each pages ?

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

      Add a root VC for each tab

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

    Very useful. Succinctly explained. Thank you.

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

    Awesome!

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

    Bro i Have a question i have a LoginVc if i want to reach TabbarC i use navigation controller.push so it show me Back btn so i didnt need that because i am checking if user Is logging ? How to reach using storyboard not programmatically thanks

  • @IvanVolovyk-b9c
    @IvanVolovyk-b9c 3 года назад +1

    Thank you so much! It is my first-day writing IOS Apps, and this video is such a good helper.

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

    May you please make a tutorial where you design the UI programmatically without the use of Storyboard

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

    thank you sir, I was looking for this :)

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

    Thank you so much! I love this channel!

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

    Thats an amazing video. thank you, man.

  • @이상웅-g5k
    @이상웅-g5k 3 года назад +1

    GREAT Tutorial!

  • @georb3989
    @georb3989 4 года назад +5

    AMAZING VIDEO!!!! this is really great content!! keep this up!

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

      Thank you! Much appreciated :)

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

    can i create buttons in the home view that take me to the settings view?

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

    Thank you for awesome tutorials, they help so much!

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

    great vid!

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

    What antivirus softwares do you recommend / use?

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

    Thank you soo much😊.
    Is there a way to put an image in the navigation controller instead of text?
    Like you see the YT logo in the app (top left).

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

      Yes! To do this you need to set the nav bar top item property

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

    I can't connect the @IBAction to the Button, when I rightclick this circle above the Viewcontroller, the action isn't displayed.

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

    Very useful tutorial ... would it still work if you replace one of the view controls with a table view controller? or would I just need to add a table to the navigation controller. I want to be able to give users to ability to view study tips located with a table view with a cell action ... how this be correctly implemented?

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

      Thanks! Yes, certainly would work. You can make the tableviewcontroller the root of the nav controller too.

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

    Thanks for this vid. However mine can’t swipe between tabs. I have to click the button at the bottom of the screen. Did I miss something?

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

      Tab swiping isnt available out of the box

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

      @@iOSAcademy oh ok. Thanks. I rewatched your vid and realize there wasn’t swiping. Helpful tutorial 👍. But then I wondered why you had to use navigationController when you can just connect the tabController directly to the viewController

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

    how to get to a different UIViewController which is created and has associated file (say SecondViewController) using storyboard by using navigation bar item ? please help

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

    If we run SFSafariViewController in one tab, can we make it run behind the tab bar? So that other tab are accessible, if not, what options do I have?

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

      Nope. To do what you are suggesting you need to leverage the WKWebView. It lets you customize presentation, position/size, and a bunch of other things

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

      iOS Academy thank you so much for your reply, this helps me a lot, have a nice day! :)

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

    please help! I did all the steps in the video, but my xcode says that the tab controller is unreachable. What should I do?

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

    Great! How can I implement such navigation controllers stacks in code?

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

    Why do you need to create a new ViewController when the button is tapped? I'm not quite clear on that.

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

    What are you doing at 6:59?

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

    I noticed when you go to the third vc and then back to the second, the red vc is still on the stack. Is there a best way to remove the red from the stack when you navigate to another vc via the tab bar? Are there any significant memory issues keeping it on the stack?

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

      I prefer to hide the tab bar when you push a VC, so you're forced to go back before you can change tabs. Or you can subclass UITabbarController and listen for tab switching and have the NavController pop to root.

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

    is there something where we can navigate between different but same UIViewControllers using navigation and tab bar item at the same time....like when we are using tabbar here we go to different UIViewControllers and tab bar icons get activated accordingly...Now also want to use the navigation on those same UIViewController where tab bar item also get change depending upon the UIVewController ,currently on? please help

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

    Nice tutorial but I am struggling implementing this into an app that I have already made with multiple VCs. I have a bunch of VCs that are all embedded in a single navigation bar. Confused on where to really go from here because I don't know if I am supposed to now make more than one navigation bar for each vc instead of using the single one.

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

    how can I move the tab bar to the top of the screen?

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

    Hello, your tutorials are great!
    Could u pls make a tutorial on adding images and text to multiple view controllers from a collapsible/expandable table (with sections and subsections)?

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

      Thanks, great idea, Ill add this to my list

  • @mr.grandma4351
    @mr.grandma4351 3 года назад

    How do we add icons to the tab bar for each page???

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

      Each root controller has a tabBarItem property

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

    How to add images instead of text? please let me know

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

    How come you want to put them all through navigation controller stacks?

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

      Then you can push additional controllers. you dont have to though

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

    thankkk u alot ٨_٨

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

    do you have a downloadable project?

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

      Not for this one unfortunately

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

    When I tried to use Notification Center from your vid on it to send array data to a table view to display on it, it does not show although it will print the new array. I also tryed the reload for the table but it still won’t display the data???

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

      You need to assign the new array to the tableview Data source then call reload on the table

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

    I can’t click and drag to connect the tab bar to the nav controller?

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

      Found the solution, in Xcode 12 you have to right click and click drag from the relationship + to the nav controllers

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

    how do you add the center raised image in the photo of your iPhone

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

      Override the tab bar item :)

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

      @@iOSAcademy I am a novice. If you could be more specific it would help. Thanks!!!

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

    how come the default isn't used and why use this way? what's the difference?

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

      I guess its preference. I find it easier to use this way

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

    Can you port this to SwiftUI!?

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

      Sure, Ill make a swiftUI version as well

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

      @@iOSAcademy Hi great video - could you please let me know if you ever got around to creating a swiftUI version of this - ie tab bar on bottom with navigation bar on top with multiple subviews - thanks

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

    there's no need to use a navigation controller. you can just use tab bar item on an empty view controller and link it to the main tab bar controller. anyway, nice video

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

    Nice video, but very basic. I wish you'd code the tab bar that is shown in the thumbnail image. That would be much more interesting.

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

      Thanks, follow up to come!

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

      @@iOSAcademy That'd be awesome!

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

    i did the same thing you did but i cant swipe between red and orange

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

      Does the red controller present? Make sure you are swiping from the edge.

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

    I was trying to embed navigation controller in tab bar controllar itself smh

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

      I’ve got another video on this

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

      @@iOSAcademy aah nice i need to find out how do you cover safe area its been a headache for me.

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

      Sorted out that too thank you :).

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

    I run the simulator but it shows “hello, world” only, no tab bar, help please 😭

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

      Have you checked the Is Initial Controller for the tab bar controller in the storyboard

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

      @@iOSAcademy sorry2, i just know that i open the swiftUI not the storyboard type one , my bad, thanks for your reply :)

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

    click bait thumbnail. 👎🏻

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

    Misleading thumbnail :|

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

    Great video !!!
    Thank you so much !!!!