Refactor Your Storyboard - Interface Builder - Xcode 10

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

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

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

    Watch Next - iOS Take Home Project - Job Interview Practice - Free Preview - ruclips.net/video/MSIe2y6Fee8/видео.html

  • @fadyyecob
    @fadyyecob 6 лет назад +57

    There’s a faster way of doing this. Just select the view controllers, click on editor at the top, and select “refactor to storyboard”. That’ll save you about 10 steps 🙂

    • @congdoan2006
      @congdoan2006 6 лет назад +6

      It's a great UI tip. Thanks Fady for sharing it.

    • @saadaamir
      @saadaamir 6 лет назад +6

      Was about to write the same thing and then saw your comment. 🙂

    • @seanallen
      @seanallen  6 лет назад +21

      Yup. This was pointed out by many, lol. That's what I love about posting videos. If I miss something, or there's a better way, people are going to let me know! Thanks for pointing it out.

    • @fadyyecob
      @fadyyecob 6 лет назад +4

      Sean Allen yea your videos go both ways, I’ve learned a few things from your other videos 👍

    • @josecarrillo2603
      @josecarrillo2603 5 лет назад +2

      I like the way shown on the video better than through the editor. Using the editor leaves references to all of the view controllers being moved rather than just one to the newly created storyboard.

  • @JunaidKhan-ny8tu
    @JunaidKhan-ny8tu 5 лет назад +1

    I started my job career in a company where they use storyBoard , before that we I used pure code. Now The storyBoard Journey started once again . The best best and best video I ever found . I always love your content :-)

    • @seanallen
      @seanallen  5 лет назад +1

      Thanks for the kind words, Junaid. Glad you liked it!

    • @JunaidKhan-ny8tu
      @JunaidKhan-ny8tu 5 лет назад +1

      @@seanallen :-)

  • @JEK30000
    @JEK30000 6 лет назад +20

    Sean at 11:04 you can change the order of the tab bar items by pressing and holding the item and put it to your preferred order. Thanks for the video, very helpful!!!

    • @seanallen
      @seanallen  6 лет назад +10

      Thanks for pointing that out. Never realized that.

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

    I literally didn't want to open the storyboard because it always took so long. But this ... now I have so much more sense to work. Thank you for that.

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

      Happy to hear it helped, Roman!

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

    thanks Sean. It is much easier to work with Story board after watching this video. And for sure it is much easier it looks after watch your straight to the points video. You save my time and thank you for that.

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

      Glad you found it helpful, Alisa 😀

  • @y2ksw1
    @y2ksw1 6 лет назад +2

    Good to hear that I am not the only one using logical units of storyboards 😊

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

      It's the best way to use them, in my opinion.

  • @kwaminaessuahmensah8920
    @kwaminaessuahmensah8920 6 лет назад +6

    Great video man! A little thing I realized about using TabBarControllers is you can actually rearrange the order of the tabs by clicking and dragging the tabs in tab bar controller in the order you want. Then you wouldn’t have to delete the segues and re-add them again!

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

      Thanks for pointing that out. Never realized that.

  • @ajp1653
    @ajp1653 6 лет назад +2

    I love your channel! I have been coding for 3 years and I am finally being paid to do so. Just love finding your helpful hints and tips.
    Keep it up!

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

      Thanks for the kind words! That's awesome to hear you're getting paid to do something you enjoy. It's a great feeling, isn't it?

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

      Yes it is! I never thought it would happen, but if you stick with it, it will come to you.
      Consistency is key 💪😎

  • @EduardoAlvarez-zc5jq
    @EduardoAlvarez-zc5jq 6 лет назад +1

    Thank very much for this video. This allows to work much comfortably on a 2015 13' MacBook Pro.

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

      Glad you enjoyed it, Eduardo 👍

  • @ojaschimane
    @ojaschimane 6 лет назад +25

    let seanAllen = keepMakingAmazingVideosLikeThis(😇)

    • @seanallen
      @seanallen  6 лет назад +2

      Nice. Thanks for the kind words!

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

    The entire video is a gem; the message comes across clearly, and as someone else said in the comments the best !yt on the topic. 5:19 Note to self: XCode 10 Object Library CMD + SHIFT + L

  • @nileshjdarji
    @nileshjdarji 5 лет назад +1

    Wow! I didn't know that something like this even exists. Thank you Sean.

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

    A great video !
    I have a very massive storyboard in one project and it wasted time loading. now i am going to refactor it, thanks to you.
    Thank you very much and keep up the good work :)

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

      Thanks for the kind words, Awais. Happy to hear you're able to use this is a real project 👍

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

    This video is so helpful... thanks for creating and sharing.... Keep videos like these coming up.... Thanks and much appreciated

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

      Happy it helped, Abhijit 👍

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

    I'm definitely going to be sending this to a few people haha; this is how I like my storyboards to be as well.

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

      Great minds think alike 😀

  • @thegamer1212awsome
    @thegamer1212awsome 6 лет назад +2

    love this video i been trying to find a tutorial about this for ages and you explained it way better than everybody else

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

      Glad you finally found one, Ali!

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

    Wow, it's really fantastic. Very nice and clear. Thanks

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

      Glad you enjoyed it!

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

    Didn't know about this, thank you Sean!

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

    me has ayudado demasiado, estoy aprendiendo a programar en swift y has sido un gran tutor

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

    I liked the colours that u have picked up! tx for the video

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

      Thanks! I try to make my tutorials look good.

  • @Xavier-xb7is
    @Xavier-xb7is 6 лет назад +1

    I didn’t even know you could do that. Thanks dude

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

      Happy to hear you learned a new trick!

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

    Great video, Sean... and I’m loving that dark theme!

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

      Have you tried the Xcode 10 Beta yet?

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

      Not yet... the only beta I've been using so far is iOS 12

  • @Rick-bp6ty
    @Rick-bp6ty 6 лет назад +14

    if you're ever done with contracting, become a teacher. You're awesome

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

      Thanks... I just might do that...

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

    Hi, Sean
    you are a great teacher

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

      Thanks Axel, I appreciate the kind words 😀

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

    Your approach is better than 'refactor to storyboard', which i cannot create a new one in the right place.

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

      'Refactor to Storyboard` came out after I had already built my habits (the way I did this video). I've never really used it, but interesting to hear that it can act weird sometimes.

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

    Thanks for share. Excellent tutorial!

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

      Glad you liked it, Urayoan!

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

    Never knew you could do this.
    Great video. Always learning something new with you dude!
    Keep it up!

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

      Glad to hear it, Rick 👍

  • @cjbringino
    @cjbringino 5 лет назад +1

    Thank you, Sean! Your video tutorials are amazing! :D

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

      Thanks for the kind words, Christian. Happy to help!

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

    Very helpful, thanks Sean

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

      Glad you enjoyed the video, Duncan 👍

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

    Thank you :) I send you greetings from México :)

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

    very helpful thanks sean

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

      Happy to help, Stalin 👍

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

    Hi Sean, I haven't known this yet.. Thanks for this, I love it.

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

    Great one how come I missed this tutorial? I'm building this project in my workplace and I kinda fell in plenty view controllers on my storyboard which makes loading my projects very slow especially when I visit the storyboard to add a new view controller. I'm glad I subscribed to your channel. Thanks man!!

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

      Have you turned on Notifications on my channel (next to the subscribe button)? If you do that, you'll get a notification for new videos. Thanks for watching!

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

    Thank you! This video is very helpful.

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

    Really very helpful! Thank you Sean

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

      Glad it was helpful!

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

    Thanks Allen, i very liked your video.

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

      Happy it helped, Sergei!

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

    Very helpful video!!

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

    Really really good video! How do I setup segue's programmatically using storyboard references?

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

    Thank you for making my life easier!

  • @finalpets
    @finalpets 5 лет назад +1

    Great Tutorial!!!

  • @patrickhanna450
    @patrickhanna450 6 лет назад +8

    I stopped using storyboards very early on in the learning process. My ancient MacBook Air would constantly lag when trying to do anything, even with two or three viewControllers on screen. Now, I do EVERYTHING in code, and I’m never going back if I can help it.

    • @seanallen
      @seanallen  6 лет назад +2

      Programatic UI is perfectly fine. You know a bit more about how the UI works when you do it that way, and it's a good way to learn. I actually use a hybrid approach, using skeletal storyboards.

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

      Hi Sean. Your videos are very helpful to me, and I really appreciate your your help. I'm curious about learning your UI hybrid approach. Can you please make a video on it? Thanks a lot.

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

      I have a video planned for that, so yes, it will happen. Just can't say when.

  • @albaqawi
    @albaqawi 6 лет назад +2

    I love to work only programmatically. I have a project I have to use your recommendation as in Xcode 10 is very slow to handle the project. It was fine with Xcode 9

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

      Building your UI programmatically is perfectly fine. This wasn't a Storyboard vs. Code video. Just helping those who use storyboards use them a little better.

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

    Is there a video for the navigation bar, showing how to use the first back button in a secondary storyboard to take you back to, say, the second view controller on the main storyboard?

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

    THANK YOU SOO MUCH !!!!

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

      Happy to help, Onkar!

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

    Omg thanks U refactored my day ^^

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

    In xcode 11, cut and paste is not working. I just did the editor > refactor to storyboard (as suggested by Fady Yecob), then created a new storyboard from there.

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

    I'm new and this might be a stupid question but what if you wanted to segue from one of the story boards back to the tab bar view controller? Like a logout button, then how can you make that segue using the storyboard?

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

    Awesome! THANK YOU!

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

    Thanks for that tutorial. What if you wanted to perform a segue from the 2nd green view controller (Green VC tab) to the 3rd blue VC (bleu VC tab)? what will the prepare for segue method looks like?

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

      You'd adjust your storyboard reference so that the initial view controller was the 3rd Blue VC. The properties of the storyboard reference let you input a storyboard identifier for a view controller

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

    What is your opinion on design patterns? What do you use? MVVM, MVC, VIPER, CLEAN SWIFT,...?

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

    @Sean A loved the video man keep up the good work, I am wondering though what is your preference storyboard or code ? I would love to see a video about this topic indepth couse its a pretty big discussion in our community

    • @seanallen
      @seanallen  6 лет назад +2

      Yup, it's a big discussion because (in my opinion), both side are completely valid and it comes down to personal preference. Me personally, I use a mix of both. "Skeletal Storyboards" is what it's been called. I'll be doing a video on this topic soon.

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

      Can't wait to see it :)

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

    Well explained Sean. Definitely prefer this approach when working in a team and working with large projects having many storyboards. Does creating multiple storyboards have any effect on performance or loading?

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

      Not that I'm aware of.

  • @eish007
    @eish007 6 лет назад +2

    Love your videos Sean. You've helped me so much over the month's 😁 is there a way to put alert message in to it's own class. I'm re-using the same code all over my app and i know this is totally wrong. Any pointers would be helpful. Thanks for the video's dude and keep up the hardwork 😁

    • @patrickhanna450
      @patrickhanna450 6 лет назад +2

      hey, i think I can help you
      you can make a static function in an Alert class
      class Alert{
      static func present(sender: UIViewController, title: String, message: String, buttonText: String = "OK"){
      let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
      let button = UIAlertAction(title: buttonText, style: .default, handler: nil)
      alert.addAction(button)
      sender.present(alert, animated: true, completion: nil)
      }
      }
      //You can call the fuction like this
      Alert.present(sender: **SomeViewControllerInstance**, title: "Oops", message: "An unknown error occured.")
      You could even give the title and message parameters default values to (at times) make your function call even shorter.

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

      Patrick Hanna dude your a life saver. I will try out when I'm sober

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

      There are various versions of what Patrick answered, but that's the gist of it. Use any variation of that and you'll be good. Thanks for the kind words about the channel.

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

      I think that if you only show "Alert" messages in your view controllers then you should extend UIViewController and make this function as an instance method of it because with this way you drop the "sender: UIViewController" parameter, allowing it to be called a bit more easily.

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

      Cong Doan You‘re usually only going to be calling the function in a viewController subclass, so yes, that makes a lot of sense. Thanks, I’ll be sure to use that in my projects!

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

    Hey Sean! This tutorial is great, but I have one question: How to create segues between reference storyboards?

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

    @Sean Allen What if I have segue from the last controller in TabBarItem1 to the last controller in TabBarItem2? How they have to be connected ?

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

    Hi,
    I have a question and didn't find this asked in comments below... Example storyboard was quite simple if compare with monsters what you can find in real life when "everything in one Storyboard" approach is used.
    My example: Project with > 30 view controllers in it. Lot of them are connected with segues and you can jump over the screens between green, pink and blue flows(if comparing with your example)
    All the new views what are added by me have no ViewController on StoryBoard at all or have it but without segues. So I'm planning to add new flows in new StoryBoards, but still, don't have a plan about old one. What would be the best way to cut it in the parts?
    1) StoryBoard references for all the segues?
    2) Segue replacement with viewcontroler pushing in the code
    3) Put all the new things in new StoryBoards and try to open old one as rarely as possible and ignore it? :D
    4) ..

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

      Man, Airvars... how do you keep working on these crazy projects? 5000 line VCs, and now this, lol... Brave man to always get in there and fix other people's problems. But anyway, this would be a pretty in-depth refactor. All the options you listed are perfectly viable (with the exception of #3, lol). My initial thought would be to replace the segues with references... but also doing the navigation is code is fine too. I'd have to see the project to really know how to do it... but both of those methods (1 or 2) is perfectly fine. I would just be consistent throughout the project. Having half of the navigation be done via segues, and the other half in code is kind of confusing.

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

      :)
      Thanks.
      Making the world better buy one project at a time

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

    Question - how do I programmatically write segues from a different storyboard that are triggered based on an action? For example a user enters their information and clicks login, upon the credentials coming back valid it will redirect them to the main view controller. How do I do this?

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

    Question , are you using an iMac Pro ? .. I have been thinking of getting one but didn't know if it was necessary . Opposed to just a regular iMac 27 5k ? Right now I have a Mac mini (hdmi) hooked up to a dell 27 inch , I also have a MacBook Pro hooked up to the same dell monitor via USB C .

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

      Hey Scott, yeah, I'm using an iMac Pro. It's not necessary at all if all you're doing is software development. The main reason I got my iMac Pro is for editing video for this RUclips channel.

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

    Hi Sean! I love your videos. I wanted to ask: I feel like storyboards are dreaded in the programming community. Do you prefer to create views programatically and using SnapKit for Autolayout for example? Or do you make storyboards in your projects? What about big companies? Storyboards/XIBs or Programatically created views?

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

      LBTA says otherwise, but every position I've had and every interview I've done, if you don't know how to work with storyboards, you're not getting hired.

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

      I typically use both in a project, while using skeletal storyboards. As for which to learn... the best answer is both. Because requirements are going to vary greatly between companies.

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

    Awesome

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

    Useful. Thanks man.

  • @Ammani-Yat
    @Ammani-Yat 5 лет назад

    nice lesson , thank you

  • @studentprogrammer9115
    @studentprogrammer9115 5 лет назад +3

    Tittle: A W E S O M E !
    Question: I might be absolutely 100% wrong, but after watching this beautiful I did couple of experiments on my end, and find out that refactoring storyboard does not work with out tabbed bar items, and navigation controller. is that right? or am is just getting the entire thing wrong. also every example I've come across are in tabbed apps.

    • @seanallen
      @seanallen  5 лет назад +1

      Thanks! Glad you liked the video, but you can refactor the storyboard no matter what. Doesn't have to be a tabbed app (that's just the most fitting example). I think what you may be getting wrong is how to properly transition between screens on different storyboards. You could literally have each view controller have it's own storyboard if you wanted. (I wouldn't recommend that, but it's perfectly fine to do).

    • @studentprogrammer9115
      @studentprogrammer9115 5 лет назад +1

      @@seanallen nice nice. I just got it right.

  • @girishadapa90
    @girishadapa90 5 лет назад +1

    NYC tute by Sean...

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

    Quick Question: Lets say I wanted to go to a view controller that wasn't the initial one. How would I do that thru storyboard reference?

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

      If you look at the inspector for the storyboard reference, just below where you chose which storyboard it referenced, there’s a field for a storyboard identifier for a view controller. Type on the identifier for the view controller you want to go to.

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

      Thanks dude. I love what you do!

  • @Yuri-bl3mq
    @Yuri-bl3mq 4 года назад

    Hi, Sean,Thank you for sharing us!! I have a question.
    If we make the new view file with the xib file instead of the storyboard, like cheking the "Also create XIB file" when creating a new view controller, how can I use the storyboard references?
    When I set the name of the storyboard as "GreenViewController" on the storyboard references I got the error saying: : "error: Did not find storyboard named "GreenViewController" referenced from Main.storyboard".

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

      To be honest, I'm not sure. I've never used Xibs in any of my projects, so I don't have any knowledge there.

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

    Thanks 🙏

  • @Rick-bp6ty
    @Rick-bp6ty 6 лет назад +1

    great shirt

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

    11:17 You can adjust the order of the items by just drag them on the tabbar UI, no need to delete them at all.

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

    Just click on the scene in the Document Outline to get it to center in the IB visual editor.

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

      thanks for the tip👍 That always annoys me...

    • @cultibotics
      @cultibotics 6 лет назад +2

      On the other hand, you used to be able to reorder tabs by reordering them in the Document Outline, but that doesn't seem to be working in Xcode 10 Beta 2.

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

      (Now using Xcode 10 Beta 3) You can reorder tabs by dragging them around in the storyboard, no need to delete and reestablish relationship connections. However, if you're using storyboard references, it won't be apparent that anything has happened until you build and run, because the tabs in the tab bar just say "Item". Clicking on the relationships in the Document Outline highlights what they point to, but so far it does not highlight the associated tabs, so no help there yet. Maybe Beta 4...

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

      After further experimentation... Reordering tabs in the visual editor *does* also reorder relationships in the Document Outline, so the order the relationships appear in the Document Outline is also the order the tabs will appear in the tab bar.

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

    Hey Seam,
    Do you recommend pushing pods in github or do we ignore them?

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

    Great video on great topic, but can you do some zoom in? Even on my 13" it's too hard to see little things.

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

      I mean, if it's possible to capture 1080p or 1440p of your screen, I know you have iMac Pro and it has much bigger resolution ≥≤

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

      I usually zoom in on the code portions of my tutorials, but this one had no code, so all the Xcode items were tough to see. I'll keep this in mind for next time.

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

    Have you been experiencing any issues with macOS Mojave? I'm thinking about upgrading but I only have one Mac - what do you think?

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

      The only issue I've run into personally is that the 3rd party app, Sketch, doesn't work. Other than that... no issues.

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

      Ok, thanks - I think I'll probably update then.

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

    You can just reorder the tab bar icons by click, holding, dragging and dropping in the order that you desire. There's no need to delete VC relationships and reset them in the desired order.

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

    6:49 You can just drag and drop the already created Tab Bar Item to the Navigation Controller instead of remove it :)

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

    Hey,
    Why are you not using the storyboard refactoring tool in Xcode?

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

      Good point. I wasn't aware of this, but MANY comments have let me know, lol. Thanks for pointing it out.

    • @gjermundification
      @gjermundification 6 лет назад +2

      That approach will only be valid if you already have the caterpilar/spider web done, the way @Sean Allen explains this viewers can apply this way of thinking from the beginning.

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

      Does xcode has inbuilt story board refactoring tool? 🤔 Any idea how to use it?

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

      Select as many view controllers in your storyboard as you need. Editor -> Refactor to Storyboard... If you need help, let me know...

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

      Wow it worked :D it was too easy, thank you very much :). I used to use Sean Allen way now ill use the way u told me.

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

    Anyone know if it's possible to make my custom tab item for Tab Bar Controller? I'd imagine something like I used to CGRect() to make NSTableViews to make each line their own color should be possible.

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

    I was working in a project, but there was lots of XIB for each element, e.g. tableview.xib, cellview.xib, subcell.xib, didselectt.xib, the project was develop in objective-c what usefull is that?, was very werid to me, but i don't have many experience. I like more this kind of work with storyboard.

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

    Hi my app crashes. I get this error: doesn't contain a view controller with identifier 'checkBalance'. But the checkBalance view controller actually exist just that I did a refractor and moved it into a new storyboard. I am performing the segue programmatically . let moveTo = storyboard?.instantiateViewController(withIdentifier: "checkBalance") present(moveTo!, animated: true, completion: nil). Thanks

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

      In whatever storyboard holds your checkBalance view controller, click on that viewController. On the right, at the top of the inspector, click the middle, down arrow looking icon. A few fields down, you should see a field for "storyboard identifier". Make sure you've entered "checkBalance" as the identifier. This needs to match exactly what you have in your instantiateViewController(withIdentifier: "checkBalance"). Try that and let me know

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

      Thanks for your reply. What i wasn't doing was, I was suppose to specify which storyboard that my checkBalance view controller is in and after doing that I didn't need the optional ? in front of my storyboard. Thanks once again

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

      Happy to help👍

  • @IhorBats
    @IhorBats 6 лет назад +2

    please record in smaller resolution as it's almost impossible to watch on IPad or work laptop. Thanks

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

      Yeah, this one was tough. Normally when I do coding tutorials I make the font really big so it's not an issue. But this one had no coding.

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

    I can't connect @IBOutlet var WebKit in viewController.swift to webKit in storyboard, even from option+click+drag from storyboard to viewController.swift is not successful. May i know what do i need to do?
    What i have done:
    1. import Webkit
    2. Create variable for Webkit in ViewController.storyboard
    3. Create Tab Bar Controller -> Navigation Controller -> View Controller First -> View Controller 2 (inside this have Webkit)
    Please help, i'm stuck :(

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

    How to get that black theme for xcode?

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

      It's Xcode 10 in macOS Mojave... It's the beta software that was released during WWDC a couple weeks ago.

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

    My relationship segue is not appearing

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

    how to change app language without changing device language in ios

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

    Guys I'm having a serious issue with Tab Bar Controllers:
    I posted my question here: https:
    stackoverflow.com/questions/60131478/viewcontrollers-navigation-bar-is-added-below-navigation-controllers-navigatio
    Can anyone help me with this?

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

    красава! very nice!

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

      Glad you enjoyed it, Serj!

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

    You could have done this without having to cut/paste and easily with storyboard refactoring.