Xcode 12 Storyboard Tutorial. Build a Login Screen using Storyboard and Stackviews

Sdílet
Vložit
  • čas přidán 13. 10. 2020
  • In this Tutorial we are going to learn how to build a User Interface for an iOS app using Storyboards. Storyboards are an easy way to build a beautiful and responsive UI for iOS, iPadOS, TvOS and WatchOS applications.
    Download the project and assets:
    cdn.devscorch.com/file/devsco...
    In this tutorial we will cover the following parts:
    - Use storyboards
    - UIImage View
    - UILabel
    - UITextFields
    - UIButtons
    - Constraints
    - StackViews
    - Horizontal and Vertical alignment
    - Custom Textfields and Buttons using UIKit
    - Testing on different size screens
    Follow us on Social media and stay tuned for more updates.
    / devscorch
    / devscorch
    / devscorch
    And join us on Discord when you want to join our new Community and talk with the developers.
    / discord
    Don't want to watch on CZcams? Our tutorials are also stored on our own blazing fast CDN and watchable on our website.
    devscorch.com

Komentáře • 131

  • @Exodai-Academy
    @Exodai-Academy  Před 3 lety +3

    URL to the assets
    cdn.devscorch.com/file/devscorch-public/assets/storyboard-tutorial.zip

  • @sanssatori597
    @sanssatori597 Před 3 lety +20

    Please keep the Xcode 12 tutorials coming, this was fantastic!

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +2

      Ty that is really nice. Im now recording a new Tutorial using Storyboards and UIKit where we recreate a IOS Facebook Profile page. ;)

  • @jorgenunez5669
    @jorgenunez5669 Před rokem +1

    This is one of the best tutorials I’ve seen! Most other video creators fly through the coding and don’t really explain any of it. With this I understood what everything meant and now I know how to apply it to other cases when creating an app! Thanks for the content!

    • @Exodai-Academy
      @Exodai-Academy  Před rokem

      Yu for the kind words. I have a new UIKit video planned with Storyboards for Friday. Happy that I could help you

  • @yizhang5714
    @yizhang5714 Před 3 lety +3

    Thanks for the video. It really helps me out. This video has every detail on how to work with Storyboard on the latest version of Xcode.

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +1

      Ty for your kind comment. I have some more Xcode Tutorials planned :)

  • @MrLaxr-op4be
    @MrLaxr-op4be Před 3 lety +3

    Learned many things brother. Thank you for the content

  • @hesham4744
    @hesham4744 Před rokem +1

    thanks brother >> i clame a good info as a Revision for tomorow exam ..bless you🌹✨

  • @blocksource4192
    @blocksource4192 Před 2 lety +1

    not only was this amazingly useful and a great introduction to storyboard and xcode, it was by far the best asmr video as well. your voice is amazing lmao.

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      Haha i had to google what ASMR is. Never heard of it before ;) But I heard people liking my voice before indeed so ty for the compliment.
      Im happy you liked it. If you wish, I uploaded a 36 video long IOS Development course where you learn IOS Development and Swift. If you interested in that make sure to check that out.

    • @blocksource4192
      @blocksource4192 Před 2 lety +1

      @@Exodai-Academy yeah I am watching that right now 👍

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      @@blocksource4192 Cool Enjoy. If you need help with something let me know.

  • @serendipitys8
    @serendipitys8 Před 2 lety +1

    I found this so useful. Great Tutorial!

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      Im happy you liked the video :) Ty for the nice words

  • @honey78665
    @honey78665 Před 2 lety

    I'm just starting ios today. This was pretty useful. Thanks!

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      If you just started with IOS make sure to check out my free IOS development course with UIKit. It is here on CZcams. This is the Playlist. czcams.com/video/Qyhz7jRY5q0/video.html
      You will learn all the basics of Swift and learn how to use UIKit and you will build a cool final app project. Just check it out and let me know what you think ;)

  • @sherazghani7141
    @sherazghani7141 Před 3 lety +2

    Good Job dEVsCORCH
    Please Continue Your Valuable content on ios development

  • @menhsosakpanha2746
    @menhsosakpanha2746 Před 3 lety +3

    thank you so much it helps me a lot.

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Happy to help. Make sure to give me a follow. Im going to upload a new Storyboard tutorial this weekend ;)

  • @yolazyguy
    @yolazyguy Před rokem +1

    Hey thank you for this!

  • @Pro-jz8wg
    @Pro-jz8wg Před 3 lety +1

    nice!thank you for this tut man!!

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      You are welcome. If you want to see something more challenging, check out the FB profile page tutorial with UIKit. czcams.com/video/HGdS67UNBC4/video.html

  • @georges.154
    @georges.154 Před 3 lety +1

    Great Tutorial! Much thanks!

  • @stefanhopman9176
    @stefanhopman9176 Před 3 lety +1

    Thank you for doing this!

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      You are welcome. Make sure to check out my other UIKit videos.

  • @rothellecooke7425
    @rothellecooke7425 Před 3 lety +4

    Wow Storyboards, I use to use them when I was first introduced to Xcode in 2015. Then came SwiftUI and now all of my developers friends no longer use them. Still cool to see. Keep up the great work.

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +2

      Yeah same here. I use SwiftUI for everything. But a lot of people still like to watch Storyboard and UIKit videos.

    • @rothellecooke7425
      @rothellecooke7425 Před 3 lety

      @@Exodai-Academy I still do too, I'm just glad that I found your channel....

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Yeah I think UIKit and Storyboards will be the standard for a few more years. SwiftUI has some weird issues sometimes. I have 6 new videos planned for building apps in Storyboard and UIKit so after that I will make more SwiftUi videos :)

    • @llothar68
      @llothar68 Před 2 lety +1

      They were terrible. Always nib and objective-c 😂

  • @sherazghani7141
    @sherazghani7141 Před 3 lety +2

    You Are Doing A Great Job

  • @KonstantinZuykov79
    @KonstantinZuykov79 Před 3 lety

    Many thanks! Awesome tutorial.

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Im happy to help :) Make sure to check out my other UIKIt videos

  • @FlyinSolo_TravelAdvisor
    @FlyinSolo_TravelAdvisor Před 3 lety +1

    thanks! this was very helpful

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      That is good to hear. If you want to try something more challenging make sure to check out my Facebook Profile tutorial with UIKit ;)

  • @quoostonator
    @quoostonator Před 3 lety +1

    Thanks, nice tutorials

  • @jatinsarabu5661
    @jatinsarabu5661 Před 3 lety +1

    Nice Video!!! Great explanation.

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Happy to hear you enjoyed it. Make sure to check out my new UIKit video ;)

  • @luisgonzalez-fr1ee
    @luisgonzalez-fr1ee Před 3 lety +1

    Nice tutorial!

  • @sokvebolkol3504
    @sokvebolkol3504 Před 2 lety +1

    Fantastic video

  • @matthewsantillan1735
    @matthewsantillan1735 Před 2 měsíci +1

    Thank you!

  • @tutkutoraman
    @tutkutoraman Před 2 lety +1

    YOU ARE THE LEGEND !!

  • @lounisphotography
    @lounisphotography Před 2 lety +1

    nice video, nicely explained.

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      Ty for the kind words. If you want something more challenging make sure to check out the UIKit Facebook profile tutorial ;)

  • @dimimall
    @dimimall Před 2 lety +1

    perfect tutorial

  • @miguelfelipedias
    @miguelfelipedias Před 3 lety

    Thank you for the tutorial! Were you using the M1 Mac?

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +1

      Ty for the kind words. No this was still done on a Intel MBP. Im waiting for the New M1X MacBook Pro

  • @wilcov16
    @wilcov16 Před 2 lety +1

    Thankyou for this helpfull video. do you have also a video how the buttons and sing up and login are working? and that you after login get a different screen?

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      I can make a video on this. Make sure t give me a follow so you stay updated ;)

  • @cl1757
    @cl1757 Před rokem

    Great Video mate. Can you confirm why the value 22 was used. Where did 22 come from. Thanks

  • @TARIQQ-DIY
    @TARIQQ-DIY Před 2 lety +2

    Great Thanks 🙏
    Im beginner so excuse me for that question
    Why all buttons stack individually ?

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      This is just my way of working with stackviews. I find it easier to work withZ

  • @Noah-km7hl
    @Noah-km7hl Před 2 lety

    ty

  • @delol2010
    @delol2010 Před 3 lety +2

    I always tend to write these comments in Dutch, but for the sake of other viewers I’ll write in English. My question Johan, will you be making a storyboard tutorial with multiple pages? Which includes some kind of navigation system? Thanks!

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Hii,
      Yeah I can make a video on this Subject. Let me design a little application and I will incorporate Storyboards, Navigation and how to present separate viewControllers using Segues. :) I will try to have it online before the second of January.
      Thank you for the idea :)

  • @lifeocl8904
    @lifeocl8904 Před 3 lety +1

    John, thanks for the nice tutorial. I tried to mimic the steps but didn't succeed. Any suggestions you could share will be appreciated.
    1. When I used an image of mine for logo, clicking on "Center" or "Stackview" results in the image increase in size. What is happening and how to avoid?
    2. When I used "DevScorch" image, the logo was positioned all the way to the top left corner and was partially cut. Similar issue with my logo as well.

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +1

      Hoi LifeOCI. For your first step. Select the image (not the StaxkView) and change the aspect mode in the identity inspector to something else. It is probably on aspect fit. Try aspect fill or the other way around. For your second point. Did you constrain the Image in the StackView?
      Sincerely
      Johan

    • @lifeocl8904
      @lifeocl8904 Před 3 lety

      @@Exodai-Academy Thanks Johan. Got it fixed. While fixing learnt a few tricks of my own as well. Can u point me to your tutorial that will help me take the next steps of making the login screen as well as creating functional apps

  • @_kaverna
    @_kaverna Před 3 lety

    You shouldnt be using stackviews like this or set fixed width/height, but you explain things well, keep it up!

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +1

      It is indeed true this is not the best way to do it. But it is the easiest way for beginners to understand :). And especially with higher resolution screens a fixed width doesn't really matter anymore.

    • @_kaverna
      @_kaverna Před 3 lety

      @@Exodai-Academy I agree that it is easy for beginners to pick up, but it does matter. If you want you app to look the same in different resolutions xD

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      @@_kaverna I totally agree with you :) don't get me wrong. I will incorporate this in future videos. TY for the tip

    • @_kaverna
      @_kaverna Před 3 lety

      @@Exodai-Academy I dont even know what SwiftUi is. I work with Xamarin. I am switching to xcode now, I will check it out, thanks!

    • @davidhughes9320
      @davidhughes9320 Před 3 lety

      Fully agree. With text you should not be setting fixed heights and widths. Text is dynamic, so it could change size depending on user language and whether the user increases their text size. There is nothing wrong with using stack views, but you should be setting leading, trailing, top and bottom constraints instead and the stack view will grow and shrink based on its internal content.

  • @lesliechiu1437
    @lesliechiu1437 Před 3 lety +1

    Hi bro, what’s the benefit of using UISackview? Thank you

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      The biggest benefit is that StackViews make it easier to work with a UI. Because of StackViews you don't need to Constrain thee Hell out of your application.

  • @parvezali1619
    @parvezali1619 Před 2 lety +1

    I am not able to do so in Xcode 13, I am using Visual studio for mac and opening storyboards from there. It's showing only actions as an option whenever I try to do this. Please help!!!

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      Ty for your reply. Just a Question. Why would U use Visual Studio on a Mac when you can actually code natively in Xcode?

  • @ExtraterrestrialEmpress

    When I do it this way and stack view everything in the end everything is all over the place. I’ve tried multiple times. Also when I try to add constraints to the text fields there is an issue every time. Not sure what I’m doing wrong but I’ve been stuck on creating the login screen for quite some time now 😵 any advice or have u created a video yet with the correct way which keeps everything in alignment in the end? HELP!

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      Hey, Im happy to help. Make sure that the Top Stack`View so the StackView where everything is placed in is constrained horizontally and vertically In container. If this still doesn't work please send me a message on Discord.
      discord.gg/FkXN9YtvqC Find me there with the name snowflake.

  • @MrIMacro
    @MrIMacro Před 10 měsíci

    Thanks, at 09:10 what did you press? is it command c? I pressed it and nothing happened!! Could you please tell me what it does and how to press it?
    Thanks
    Could you please tell me what

    • @Exodai-Academy
      @Exodai-Academy  Před 10 měsíci

      Command z

    • @MrIMacro
      @MrIMacro Před 10 měsíci

      @@Exodai-Academy Thanks, but what does it do? How did you align center everything with command z ?

  • @symeontsilidis7344
    @symeontsilidis7344 Před 3 lety +1

    can you do a tutorial how to create a new user on firebase with email and Password Authentication ??

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Yes I would love to. I will add it to my list of videos and articles im writing/ recording at the moment :)

  • @iron-oxide
    @iron-oxide Před 3 lety +1

    why are you wrapping everything in a stack view? is it really required?

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +1

      No it is not required. You can also build the UI only using Constraints and using non fixed widths and heights without the use of Stackviews. Problem here is that constraining can be a pain when you want to support multiple screen sizes. For example when you use a UITableView you don't need to Stackview anything, you could just constrain it to the sides of the phone. I just used Stackviews in this Tutorial because it is the easiest way of building a UI like a Login screen where everything has to be nice and centered. So the UI looks the same on a iPhone SE, a iPhone 11 Pro and a Pro Max.

  • @retrogamer426
    @retrogamer426 Před 2 lety +1

    I am still using Xcode Storyboard on an app on working on. I have where I can enter a password to login, but I am having trouble having the user change its password on the app. Can I do this with out using Firebase?

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      You want to give the user the ability to change the password?
      If the password is saved in Firebase you need to send the new password to Firebase. Otherwise the user can't user the new password

  • @shelbys4252
    @shelbys4252 Před 2 lety +1

    Why does everything have to be embedded in a stack view?

  • @peterwan小P
    @peterwan小P Před 2 lety

    can i do something like a.layer.cornerRadius = b.layer.cornerRadius = c.layer.cornerRadius = 22 ?

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      You mean different corner radius per corner??
      stackoverflow.com/questions/40498892/different-cornerradius-for-each-corner-swift-3-ios

  • @rrejepov1276
    @rrejepov1276 Před 2 lety +1

    Bro I don't have main storyboard ? how can I add??

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      Meks sure you have Storyboard and UIKit selected when you create your Xcode Project

  • @eteaminc3463
    @eteaminc3463 Před 3 lety +1

    Nice video. but everytime I follow these instructions I get a simulator with everything all over the place. Everything''s out of place.. Do you know why that is?

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Uhm no idea because I can't see your project. Can you join my discord channel or send me the project so I can take a look for you? Then I can add extra information for you
      @t​
      Sincerely
      Johan

  • @symeontsilidis7344
    @symeontsilidis7344 Před 3 lety +1

    hello can you please make the same video for xcode 12.3 ?

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +1

      This should work for Xcode 12.3 as well. Are you experiencing problems??

    • @symeontsilidis7344
      @symeontsilidis7344 Před 3 lety +1

      @@Exodai-Academy I'm just starting learning Xcode and when I create a new project I don't have the option of main storyboard and the view controller on Xcode 12.3

    • @kidsaviation8221
      @kidsaviation8221 Před 3 lety +1

      @@symeontsilidis7344 do command n

  • @ditosabri663
    @ditosabri663 Před 3 lety +1

    I want to buy a Macbook air 2017, is it enough to learn to make ios applications?

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Yes it is :) The Swift Compiler is really lightweight so you don't need extreem powerful hardware to build apps with it :) Make sure to check my written tutorials on Swift for beginners. It is updated weekly
      devscorch.com

    • @ditosabri663
      @ditosabri663 Před 3 lety +1

      @@Exodai-Academy Okay, Thx u, we love u so much :)

  • @sherazghani7141
    @sherazghani7141 Před 3 lety +1

    Community Want To learn IOs development .plz start tutorial series for biginners .

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      I have written tutorials on my website and beginner videos as well. And next month I’m launching a new iOS course on my website

    • @sherazghani7141
      @sherazghani7141 Před 3 lety

      @@Exodai-Academy plz give me link of your website and i was doing a job in software company as a android developer now my company shifted me in ios development department now i am facing difficulties to learn ios so give me your website link and confirm me when u r launching ios development complete course on your website then i will follow it and i like your teaching method thanks a lot

  • @JohnWick-dv5ny
    @JohnWick-dv5ny Před 3 lety +1

    I can't seem to get the option storybord when creating a project.

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      You mean when you create the Project for the first time?

    • @JohnWick-dv5ny
      @JohnWick-dv5ny Před 3 lety +1

      @@Exodai-Academy Yeah!

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      That is weird. Are you running Xcode 12?

    • @AaronatWingtrades
      @AaronatWingtrades Před 3 lety +3

      @@JohnWick-dv5ny on the "new project" screen, chose STORYBOARD as your third option instead of UIKit

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety +1

      @@AaronatWingtrades Ty for helping him

  • @minalhande3452
    @minalhande3452 Před 3 lety

    can Xcode 10 project run on other Xcode version?

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Theoretically yes. The Xcode Compiler will convert Xcode 10 applications using Swift 3 or 4 automatically to Swift 5

  • @potatopeeler2919
    @potatopeeler2919 Před 3 lety +1

    How do you create your own UImageView name?

  • @FreakyCoach
    @FreakyCoach Před 2 lety

    Adding fixed width and height is a bad idea for different screen sizes, and you only considered a particular screen size.

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      I totally agree with you :) I also explained this in some old comment :)

  • @ChamHam
    @ChamHam Před 2 lety

    Value of type '(Any) -> ()' has no member 'layer'

  • @RoninOC
    @RoninOC Před 3 lety

    Hey man, can I contact you for help? I’m building something big. And I need advice 🤙🏻

    • @Exodai-Academy
      @Exodai-Academy  Před 3 lety

      Hit me up on discord or just send me a email
      johan@devscorch,com

  • @michaelfrancis3470
    @michaelfrancis3470 Před 2 lety +1

    You could’ve been more specific in the video it was kinda terrible and should’ve been more specific especially with the command Z I couldn’t understand you so I didn’t know to undo do it or not

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      Hello,
      Thank you for the deserved criticism. You are totally right. I will try to be more specific in future videos.
      Sincerely
      Johan

  • @coolmania8991
    @coolmania8991 Před 3 lety

    my Xcode is different from this one...why?

  • @rodrigoantoniopinonayala2878

    I found this so useful. Great Tutorial!

    • @Exodai-Academy
      @Exodai-Academy  Před 2 lety

      I’m happy you found it useful. Thank you for the kind words