How to use Auto Layout for beginners in Swift - iOS 2023

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 85

  • @iOSAcademy
    @iOSAcademy  2 ปีที่แล้ว +1

    Into iOS? Lets connect! linkedin.com/in/afrazsiddiqui

  • @БЕОГРАДСКАБАНДА
    @БЕОГРАДСКАБАНДА 4 ปีที่แล้ว +24

    But what when UI becomes more and more complex?
    I understand how to manage auto layout with single square on the screen, but can't wrap my head around how to be efficient with complex UI, with bunch of labels, images and buttons covering whole screen?
    Can you make some tutorial where you can show us how to handle those more complex situations?
    Thanks in advance!

  • @AJ.313.j
    @AJ.313.j 3 ปีที่แล้ว +1

    Best video on youtube for beginners.

  • @FirstForty1
    @FirstForty1 4 ปีที่แล้ว +6

    Much more clear than the other class Im taking. Ill look for more from you

  • @mmr-saad9856
    @mmr-saad9856 3 ปีที่แล้ว +2

    superb. I had an allergy to auto-layout. but by seeing this video, I fall in love with auto-layout. Simple and easy. Very good job buddy.

  • @ameerkhanpathan6598
    @ameerkhanpathan6598 2 ปีที่แล้ว

    Very helpful for me,your videos are very very helpful.basically I am mechanical engineer but now I move to IT field and I learning things alone with the help of TH-cam and other stuf and I find your TH-cam channel and it's great to understand things easily..

  • @abdullahalnutayfi8103
    @abdullahalnutayfi8103 3 ปีที่แล้ว +1

    Hi, do you have sources for building the interface by code so I can delete storyboard?

  • @handmadesoftware
    @handmadesoftware 2 ปีที่แล้ว +2

    Perfect tutorial, just in a right place and in a right time, thank you !

  • @chaoliu
    @chaoliu ปีที่แล้ว

    Thank you! You make it much easier to understand.

  • @tanmayagarwal1356
    @tanmayagarwal1356 2 ปีที่แล้ว +1

    Great, Simple and very easy tutorial. U have earned one more subscriber!

  • @abdulbasir8740
    @abdulbasir8740 2 ปีที่แล้ว

    helpful tutorial, thank you, understood why constraints are important

  • @Денис-ж3ф5р
    @Денис-ж3ф5р 3 ปีที่แล้ว

    I am wondering how to launch few storyboards on the same screen on different devices at a time, to see how layouts behave.

  • @bunnyrabits
    @bunnyrabits 3 ปีที่แล้ว +1

    your videos are just awesome, thanks a ton !

  • @gorgesalender1006
    @gorgesalender1006 2 ปีที่แล้ว +1

    Thank you 😊

  • @danialothman
    @danialothman 3 ปีที่แล้ว +1

    doesn't matter if you can code swift or obj-c if you can't freaking get this down! thank you so much!

    • @iOSAcademy
      @iOSAcademy  3 ปีที่แล้ว

      You’re welcome

  • @Kevin_Zed
    @Kevin_Zed 3 ปีที่แล้ว

    Thanks for this video yesterday I was struggling but I think I have an idea of what I need to do now.

  • @robertramirez8142
    @robertramirez8142 4 ปีที่แล้ว +1

    I’m having issues sizing buttons and fonts for different devices both in storyboards and programmatically

  • @YashSharma-xd5rg
    @YashSharma-xd5rg 4 ปีที่แล้ว +6

    simple as it gets. Simple is nice..

  • @moniquewrites9046
    @moniquewrites9046 3 ปีที่แล้ว

    Can someone please help
    I have 11.3 Xcode and it doesn’t let me place constraints!!!!

  • @flytexashomes5827
    @flytexashomes5827 2 ปีที่แล้ว

    Your amazing 🤩 thanks

  • @mgg00
    @mgg00 4 ปีที่แล้ว +2

    Thank you for sharing, but how can I fill all the screen with the imageview without the blank from the safe area?

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Your welcome. For this, you can just disable the safe areas in the storyboard

  • @aviadsabag8193
    @aviadsabag8193 4 ปีที่แล้ว +2

    hmm a question that kills me everytime, how do i know how much the distance ? i mean if i want it to be far away from the blue view but by little, how do i know the amount? :)

  • @shreyan9088
    @shreyan9088 3 ปีที่แล้ว +2

    Awesome

  • @AdailtonSilvaSP
    @AdailtonSilvaSP 3 ปีที่แล้ว +1

    Thank you for this video. It helped me a alot!

    • @iOSAcademy
      @iOSAcademy  3 ปีที่แล้ว

      You’re welcome

  • @fibowibo5359
    @fibowibo5359 3 ปีที่แล้ว +1

    cool video, straight forward and clear!

  • @Opppoool
    @Opppoool 4 ปีที่แล้ว +1

    thank you you really helped me

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Your welcome! Make sure to subscribe for more

  • @ahmadkhattab5700
    @ahmadkhattab5700 3 ปีที่แล้ว +1

    Thank u

  • @flamyoad
    @flamyoad 2 ปีที่แล้ว +1

    Very useful video :)) Kudos to the video creator. Can't believe I need to lookup the a tutorial just to understand how to use AutoLayout properly (I am familiar with Android's ConstraintLayout which is similar to this). Guess Xcode needs to step up their UX & interface

  • @СавелийСакун-ю8ж
    @СавелийСакун-ю8ж 4 ปีที่แล้ว +1

    Thanks so much for this lesson!

  • @Jeff-lc2xd
    @Jeff-lc2xd 3 ปีที่แล้ว

    can you demonstrate autolayout constraints with percentage?

  • @johnkim2665
    @johnkim2665 4 ปีที่แล้ว

    Is there a specific way you're supposed to layout label objects or no? When I tried doing it for the labels, each time I previewed them on something like an iPhone 11 then previewing it on an iPhone 8, it would move them around? Or am I just doing something wrong?

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Things just need to be constrained. Can you define "move around". The expectation is that things will get moved bc smaller screens have less space

  • @haroonazharkhan7976
    @haroonazharkhan7976 4 ปีที่แล้ว +1

    really loved it

  • @abdessamedben4090
    @abdessamedben4090 3 ปีที่แล้ว

    how to align a view to the bottom of safe area?

    • @iOSAcademy
      @iOSAcademy  3 ปีที่แล้ว

      Pin to the bottom and set an appropriate height that you need

  • @hustlas4ever
    @hustlas4ever 4 ปีที่แล้ว

    Hi thank you for this. And what's the difference between auto-layout and auto-resizing?

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      You're welcome! Make sure to sub! The difference is one refers to the actual layout where the other refers to dynamic ability to resize the laid out view

  • @donl6605
    @donl6605 2 ปีที่แล้ว

    How would the constraints work when drawing a line or a bezier curve on the view. Would the xy co-ordinates of the line/curve differ with each different device?

  • @nawafb6280
    @nawafb6280 4 ปีที่แล้ว

    I am struggling Really thank you

  • @sankharr
    @sankharr 3 ปีที่แล้ว

    Well Explained. Thank you!

  • @jackson4524
    @jackson4524 4 ปีที่แล้ว +1

    Thanks this helped so much i was struggling with it

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Youre very welcome!

  • @hallvardlundehervig5508
    @hallvardlundehervig5508 4 ปีที่แล้ว

    Great video! Continue with these videos, they are very helpful

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว +1

      thanks! Make sure to subscribe for more

    • @hallvardlundehervig5508
      @hallvardlundehervig5508 4 ปีที่แล้ว

      @@iOSAcademy Yeah, I have done it. Btw do you have a tutorial on layout with textfields, buttons, labels etc?

  • @edward.narvaez
    @edward.narvaez 4 ปีที่แล้ว +1

    Tx bro

  • @mushii_shi
    @mushii_shi 4 ปีที่แล้ว

    Thanks for the video! Relevant question: How can I adjust the layout for smaller screens? All iPhones have the same size class for vertical view - wC hR. I don't understand how to set a smaller font size or smaller constraints for tiny screens like iPhone 5s.

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Youre welcome. To do that you need the content to expand or decrease in size to accommodate less apace - or use something like a scrollview

  • @sergiocaplan1168
    @sergiocaplan1168 4 ปีที่แล้ว

    How about being able to detect safeArea layouts in Xcode only?

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Each view has a safeAreaInsets property

  • @hanzalamemon6325
    @hanzalamemon6325 3 ปีที่แล้ว

    If I setup one as background, I make it a distance of “0” from view, and when I run it on iPad, it’s comes very slim. Definitely not as a wallpaper. I’m struggling. But thanks for the video :)

  • @syedarmaghanhassan4652
    @syedarmaghanhassan4652 4 ปีที่แล้ว

    Thanks... Great ! Thanks for sharing...

  • @Tggfredcsawsdfgbhhhhu
    @Tggfredcsawsdfgbhhhhu 4 ปีที่แล้ว

    Thanks man,
    Awesome video. Extremely helpful.

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว +1

      Thanks! Glad I can help. Make sure to subscribe and like for more

  • @codeindia4204
    @codeindia4204 4 ปีที่แล้ว +1

    Great tutorial
    #CodeWithMonika

  • @hamzaalaudi1184
    @hamzaalaudi1184 4 ปีที่แล้ว +1

    as always, very clear. Thank You very much. Subscribed!:)

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      You’re welcome

  • @nurettindegismen5671
    @nurettindegismen5671 ปีที่แล้ว

    Zoom in - zoom out.We are not blind!

  • @mujtubaamin360
    @mujtubaamin360 3 ปีที่แล้ว

    Very painful to see zoom in and zoom out so repetitively.

    • @iOSAcademy
      @iOSAcademy  3 ปีที่แล้ว

      New videos have no zoom

  • @youssh4975
    @youssh4975 3 ปีที่แล้ว

    ugh, i hate this

    • @iOSAcademy
      @iOSAcademy  3 ปีที่แล้ว

      Video or auto layout?

    • @youssh4975
      @youssh4975 3 ปีที่แล้ว

      @@iOSAcademysorry i meant autolayout, video was useful thanks