Tabbar and Navigation Controller

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

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

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

    WHY did my professor not taught me this since the very beginning!? Literally the most useful video so far! I wished I have seen this before my semester started.

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

    For weeks I was desperate to find this information. Thanks so much!

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

    I was DYING to fix this problem for about 5hrs. Thank you so much, even though this video was posted some time ago.
    (I only started learning Xcode on Monday, so progress is finally looking good)

  • @6105boe
    @6105boe 7 лет назад

    Amazing tutorial man, super easy to follow! Very nice to see everything explained from the ground up.

  • @Jayasimhaprasad
    @Jayasimhaprasad 7 лет назад

    Great tutorial Mitch ! very helpful and crisp. Helped me understand all aspects of tabbed Bar controller

  • @sammyiboi
    @sammyiboi 7 лет назад +1

    Very helpful, Mitchell! It's over a year since this video was first uploaded but it will help me BIG TIME on my class's final mobile assignment :)

    • @MitchellHudson
      @MitchellHudson  7 лет назад

      Really happy to hear your project is doing well, and thanks for the comment.

  • @user-ei6zn6qy3p
    @user-ei6zn6qy3p 7 лет назад

    It's very helpful ! Especially the "embed' option which solved my problem. thank you ;)

  • @zz7dima
    @zz7dima 6 лет назад

    Very well made, very easy to understand. Thank you very much!

  • @jam99e
    @jam99e 6 лет назад +5

    Thank you so much exactly what I was looking for :)

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

    Thanks for the video, you earned a new subscriber

  • @rainerwinkler9295
    @rainerwinkler9295 6 лет назад

    Thanks so much! Was looking to a solution for hours!

  • @jiaoyuhang4036
    @jiaoyuhang4036 8 лет назад

    watch your video a lot. it does help me. thanks!

  • @justindewoody
    @justindewoody 6 лет назад

    Dude! You are a life saver! This was exactly what I was trying to figure out! Thank you so much for this video! Thumbs up subs up!

  • @martinutzon7641
    @martinutzon7641 7 лет назад

    Thank you so much - exactly what I had been looking for

  • @slsdeveloper5627
    @slsdeveloper5627 7 лет назад

    Super awesome explanation, so clear. My only issue is the volume I had my laptop volume all the way up and the youtube volume all the way up and it was still pretty quiet.

  • @GlenGustard
    @GlenGustard 7 лет назад +1

    Dude, this was so helpful. Thank you

  • @saidahmed3399
    @saidahmed3399 6 лет назад +1

    Thank you Mitchell! Your video was very helpful :)

  • @o0tommyzzzzz0o
    @o0tommyzzzzz0o 7 лет назад

    can i rearrange the tab bar elements? In addition change the init controller? Also when i try to use a custom image as a tab bar item's icon, it just cover the whole screen. How do i resize it? I have already try to set the Image Inset to make it fit on storyboard but when i press the tab on simulator, it bounce back to origin size and cover the screen again.

  • @veby1991
    @veby1991 7 лет назад

    THANK YOU!!! Now I can add navigation controller in my project :D

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

    How are you doing the click and drag within storyboard?

  • @neuralNet007
    @neuralNet007 7 лет назад

    Thank you very much. Awesome explanation

  • @ForMyScooby
    @ForMyScooby 7 лет назад

    Awesome video. Solved my problem! Thanks!

  • @bram101112
    @bram101112 7 лет назад +1

    Great tutorial. Thanks!

  • @ekchhuon4976
    @ekchhuon4976 6 лет назад

    This is very helpful to me, thank you!

  • @blackberryheels
    @blackberryheels 8 лет назад

    GREAT tutorial, thanks so much!

  • @hamidtahmasebpour9344
    @hamidtahmasebpour9344 5 лет назад

    Excellent tutorial, thank you!

  • @alilashini3553
    @alilashini3553 6 лет назад

    Thanks it helped a lot. But there is a question: How can I have a default navigation bar for all those views?! For example think I want to have logo, menu button and etc in navigation bar. I should add them to each navigation bar one by one and seprately?!

  • @shamilroshan987
    @shamilroshan987 5 лет назад

    iam kinda new at this. and am using Xcode 4. went through the steps said in video still the navigation controller is not shown. any insights?

    • @shamilroshan987
      @shamilroshan987 5 лет назад

      I want to push data from one controller to the other. not just a simple segue

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

    somebody help me ! while switching from tabs I need to click twice. can not figure out why!

  • @huben92
    @huben92 6 лет назад

    thank mitchell
    Dude, this was so helpful.

  • @wahhmann123
    @wahhmann123 6 лет назад

    does the login screen have to be the initial view controller?

  • @dev4lifetime
    @dev4lifetime 7 лет назад

    Excellent video! I love it.

  • @Invisiblerealities1
    @Invisiblerealities1 5 лет назад

    Great tutorial man!

  • @AneesKodappana
    @AneesKodappana 5 лет назад

    Helpful, Thank you

  • @theRINspace
    @theRINspace 6 лет назад

    I always get a ")
    libc++abi.dylib: terminating with uncaught exception of type NSException" when I click the next tab. How do I remedy this?

    • @MitchellHudson
      @MitchellHudson  6 лет назад

      There is probably more in the error scroll to the top of the console and find where the error begins it might tell you more.

  • @saeedrahmatolahi462
    @saeedrahmatolahi462 6 лет назад +3

    But The problem is that I don't want to see tab bar when navigate to another page
    how can I do that ?

    • @MitchellHudson
      @MitchellHudson  6 лет назад

      Generally speaking the Tabbar should always be visible. it's the nature of tabor navigation. If you want the tab bar to not be visible you are probably showing a Modal view and will return to the tabbar. Use present view controller: developer.apple.com/documentation/uikit/uiviewcontroller/1621380-present

    • @yorickbolster782
      @yorickbolster782 6 лет назад

      What if I want to show the navbar, but not the Tabbar? For when I want to let users go back to the tabbarcontroller, but not let them switch tabs without going back first.

    • @saeedrahmatolahi462
      @saeedrahmatolahi462 6 лет назад

      that's good but the problem is that I can't use navigation bar in that page how can I handle that ?

    • @MitchellHudson
      @MitchellHudson  6 лет назад

      Sounds like you want to use a modal. A modal is a view that covers the current view. When you dismiss the modal you will return the previous view controller.

    • @saeedrahmatolahi462
      @saeedrahmatolahi462 6 лет назад

      yes But can I use navigation bar in that modal ? I mean I want to make some thing like telegram chat app when you select a contact to chat the the new page will have the navigation bar just like previous page But there is no tab bar But the user can drag screen to go back and see the tab bar is behind the chat page

  • @Ipat639
    @Ipat639 7 лет назад

    great explanation. thanks

  • @andrewtrang4921
    @andrewtrang4921 7 лет назад

    Nice man, i needed this. Thanks!!!!

  • @mhermovsisyan3626
    @mhermovsisyan3626 7 лет назад

    Thanks!!! Great tutorial.

    • @MitchellHudson
      @MitchellHudson  7 лет назад

      Thanks, I'm happy to hear this was helpful!

  • @jerrysito97
    @jerrysito97 6 лет назад

    why cant you put the tab bar embedded into a navigation controller so that it just has one and then all pages get the nav bar without having to repeat it for each tab item

    • @MitchellHudson
      @MitchellHudson  6 лет назад +1

      Give it a try! But, read the Human Interface Guidelines has to say about Tabbar Navigation: developer.apple.com/ios/human-interface-guidelines/bars/tab-bars/

    • @jerrysito97
      @jerrysito97 6 лет назад +1

      so i tried to make a nav controller have some pages then one of those pages leads to a tab bar controller and when i do that the title that i gave them doesnt show. do you know how to make them show?

    • @TV-vu9fg
      @TV-vu9fg 6 лет назад

      I have the same question.I want to give a total navigation on the top of the tabbar.

  • @user-wg5pp5sy5q
    @user-wg5pp5sy5q 2 года назад

    Super! Thank you!

  • @amisma468
    @amisma468 7 лет назад

    great video! thank you!

  • @mobaidiobaidi8644
    @mobaidiobaidi8644 5 лет назад

    wow ~~~ nice tutorial! thank you ^

  • @pavleandric1957
    @pavleandric1957 7 лет назад

    tnx man, my problems solved!

  • @TeacherWilliam2015
    @TeacherWilliam2015 6 лет назад

    Awesome!
    Great work!

  • @WhatIsThisAllAbout
    @WhatIsThisAllAbout 6 лет назад

    completely served the purpose..

  • @richardpilhofer3994
    @richardpilhofer3994 5 лет назад

    Very helpful thank you

  • @khoibui3375
    @khoibui3375 6 лет назад

    Thank you so much! I love you

  • @jackderbis7791
    @jackderbis7791 6 лет назад +3

    omg mitchell thankssssssssss

  • @MrMajnam
    @MrMajnam 7 лет назад

    Can you tell me how to hide tab bar on just ONE view. Example:
    Lets says we have 2 view: View1, View2. If I click from View1 to View2 I want to hide tabBar and when I click "Back" on View2 I want tabBar on my View1 is still there. Is it possible? Thank you :)

    • @MitchellHudson
      @MitchellHudson  7 лет назад

      That's a good question. Here are a couple answers I found:
      stackoverflow.com/questions/28777943/hide-tab-bar-in-ios-swift-app
      stackoverflow.com/questions/27008737/how-do-i-hide-show-tabbar-when-tapped-using-swift-in-ios8

    • @MrMajnam
      @MrMajnam 7 лет назад

      I tried all of that already and it's not working. Once I hide tab on View2 and with segue already implemented "back" button when I return to View1 I dont see my tab any more :/. Have you tried something of it?

    • @MitchellHudson
      @MitchellHudson  7 лет назад +1

      You probably need to show the tabor when you return. Set this in viewWillAppear in both views. One view will show the tab bar one will hide the tab bar.

    • @MrMajnam
      @MrMajnam 7 лет назад

      I did it. Mainly I just set on views I don't want the tab bar to shows on storyboard set "Hide bottom bar on push" to true.
      I have one specific question for you if you have 10minutes of your time? It's a little bug and I'm pretty sure you know whats going on because I'm just beginner with this. Can w speak through mail, skype?

    • @MitchellHudson
      @MitchellHudson  7 лет назад

      I'm pretty busy, I work all day. Post your work to github and I'll take a look.

  • @mistletoe91
    @mistletoe91 6 лет назад

    Actual stuff start at @8:41 . Great tutorial though

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

    Thank you!!!

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

    Thank you a LOT)

  • @ruchisingh72
    @ruchisingh72 7 лет назад +1

    very helpful

  • @jvinhit
    @jvinhit 6 лет назад

    thanks for help!

  • @ankushdadwal3863
    @ankushdadwal3863 6 лет назад

    Up to point, Thanks ;)

  • @2derand
    @2derand 4 года назад

    Thanks!

  • @RyuuzakiJulio
    @RyuuzakiJulio 6 лет назад

    Updated MacOS Xcode 9 Swift 4 would be amazing!

    • @MitchellHudson
      @MitchellHudson  6 лет назад

      You're telling me! I have been working in JavaScript lately so my Swift is getting rusty.

    • @RyuuzakiJulio
      @RyuuzakiJulio 6 лет назад

      Mitchell Hudson LoL more like begging you. There is absolutely no one explaining MacOS programming. And the Apple documentation about all the NS controls is pretty much encrypted gliphs to me.

  • @ThePacket10
    @ThePacket10 8 лет назад

    nice explanation

  • @sundarg3734
    @sundarg3734 7 лет назад

    Thanks Mitchell

  • @freew0o0orld
    @freew0o0orld 8 лет назад

    Kepe it up mate 👍🏻

  • @chanheiman6378
    @chanheiman6378 7 лет назад

    Thank you

  • @dkfloza
    @dkfloza 8 лет назад

    Hi there . I'd like to ask you a question that has taken me few weeks to solve yet I couldn't figure it out . It 's not quite about this video thought . I am trying install Firebase3 in my project . after I hit the command " pod install " it starts the installation but at the end it gives me the following error .
    [!] Unable to add a source with url `github.com/CocoaPods/Specs.git` named `master`.
    You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
    Then I tried to go to ~/.cocoapods and clone the link directly and I faced this error
    remote: Counting objects: 733146, done.
    remote: Compressing objects: 100% (5/5), done.
    error: RPC failed; curl 56 SSLRead() return error -9806.00 KiB/s
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed
    I would strongly appreciate if u can help to solve this problem :)
    Hi there . I'd like to ask you a question that has taken me few weeks to solve yet I couldn't figure it out . It 's not quite about this video but it's not irrelevant neither . I am trying install Firebase3 in my project . after I hit the command " pod install " it starts the installation but at the end it gives me the following error .
    [!] Unable to add a source with url `github.com/CocoaPods/Specs.git` named `master`.
    You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
    Then I tried to go to ~/.cocoapods and clone the link directly and I faced this error
    remote: Counting objects: 733146, done.
    remote: Compressing objects: 100% (5/5), done.
    error: RPC failed; curl 56 SSLRead() return error -9806.00 KiB/s
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed
    I would strongly appreciate if u can help to solve this problem :)

    • @MitchellHudson
      @MitchellHudson  8 лет назад +1

      That's a hard one to solve remotely. Check the problem dependency on cocoapods.org. Make sure it exists, and that you loading the most recent version. If that checks make a new single view app, and go through the process of setting up cocoa pods for that app. This might tell us if the problem has something to do with your project or it's something with the files on the server. If that doesn't work edit your pod file and try and load a pod that you are sure is good.
      I think the problem here is with the pod on the server.

    • @dkfloza
      @dkfloza 8 лет назад

      Thanks , I'll give it a try ;)

  • @nostalgia2775
    @nostalgia2775 7 лет назад

    thanks

  • @kahtangeorgis1793
    @kahtangeorgis1793 6 лет назад

    Thanks

  • @Probanot
    @Probanot 8 лет назад

    Thumbs up!!

  • @1arschloch1
    @1arschloch1 8 лет назад

    Mitchell did you get my message??

    • @MitchellHudson
      @MitchellHudson  8 лет назад

      +1arschloch1 No, I don't think so. Where did you post the message?

    • @1arschloch1
      @1arschloch1 8 лет назад

      +Mitchell Hudson it was a privat message to your chanel :/

    • @MitchellHudson
      @MitchellHudson  8 лет назад

      I don't see any private messages?

    • @1arschloch1
      @1arschloch1 8 лет назад

      +Mitchell Hudson thats weird :/, is it possible to send a private message somewhere? mby email?

    • @MitchellHudson
      @MitchellHudson  8 лет назад

      You can just post a comment under the video.

  • @gangfang8835
    @gangfang8835 7 лет назад

    You may speak a bit louder next time. But anyway thanks for your video!

  • @Xaxataja
    @Xaxataja 8 лет назад

    Can you help me make a tabbar, that when i click one on the icons make a popup. Just lige InstaGram when you want to create new post :)

    • @MitchellHudson
      @MitchellHudson  8 лет назад

      Not sure, sounds like you want to animate the image on the tab bar. You may want to create your own tab bar from UIImageView and other UI elements rather than try and modify the tab bar.
      Then again you could try and get a reference to the image on the tab bar. I suspect each tab bar tab is a UIView with an image an d label.
      Thats a a tough question to answer here it will take some experimentation.

    • @Xaxataja
      @Xaxataja 8 лет назад

      +Mitchell Hudson Well I've tried different thing, and it seems like the one with creating my own tabbar doesn't work for me, because i still want relation between the other four viewcontrollers. .. So

    • @MitchellHudson
      @MitchellHudson  8 лет назад

      That's a tough problem. You need to take a close look at how the tab bar is structured. It probably has a view property that holds the image on the bar. If you can get this you can probably animate it.

    • @MitchellHudson
      @MitchellHudson  8 лет назад

      I think you want to open your view as a modal from the tabor button rather than showing the view controller associated with that tab.
      www.reddit.com/r/swift/comments/3nnj7y/how_do_you_present_a_view_controller_modally_from/

  • @MohammadKalim87
    @MohammadKalim87 8 лет назад

    nice tutorial but voice is too loo ! too much, but thanks one thing i am stuck it and resolve it thanks any ways !

  • @colliot2
    @colliot2 7 лет назад

    The volume level seems too low

    • @shamaryarde5545
      @shamaryarde5545 7 лет назад

      It is. I don't know if it's simply my Mac Book. I have not tried it on another machine.

  • @ManishGupta-cn7ei
    @ManishGupta-cn7ei 6 лет назад

    volume is low

  • @williamwolfe8708
    @williamwolfe8708 7 лет назад

    Thank you!!