How to use Auto Layout for beginners in Swift - iOS 2023
Вставка
- Опубліковано 22 сер 2024
- 💻 Source Code: / iosacademy
🎥 Subscribe for more: www.youtube.co...
😎 Like my teaching style? Check out some of my most popular courses: courses.iosaca...
👉🏼 Connect (personal LinkedIn) / afrazsiddiqui
🚀 Follow on LinkedIn / ios-academy
iOS Academy offers the #1 course for iOS Development for Beginners. Learn to create iPhone and iPad apps from scratch. Everyone these days has an app idea; learn the important skill of making those apps, make yourself more marketable, change industries to get a different job, and enjoy the ride!
Like my teaching style? Learn to build the TikTok iOS App with my recent course! ios-academy.te...
This video is brought to you by Skillshare - an only community of teachers sharing awesome skills. Use the following link to get 2 months of FREE premium: www.skillshare...
Into iOS? Lets connect! linkedin.com/in/afrazsiddiqui
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!
Much more clear than the other class Im taking. Ill look for more from you
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.
Thank you!
Perfect tutorial, just in a right place and in a right time, thank you !
Youre welcome
Best video on youtube for beginners.
Thanks
Thank you 😊
Youre welcome
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 UA-cam and other stuf and I find your UA-cam channel and it's great to understand things easily..
Thank you! You make it much easier to understand.
your videos are just awesome, thanks a ton !
Youre welcome
Great, Simple and very easy tutorial. U have earned one more subscriber!
Thanks
Your amazing 🤩 thanks
helpful tutorial, thank you, understood why constraints are important
Awesome
Thanks
@@iOSAcademy :)
doesn't matter if you can code swift or obj-c if you can't freaking get this down! thank you so much!
You’re welcome
Thank u
Youre welcome
simple as it gets. Simple is nice..
Thanks!
Thank you for this video. It helped me a alot!
You’re welcome
Hi, do you have sources for building the interface by code so I can delete storyboard?
cool video, straight forward and clear!
Thanks
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
Thanks & agreed
thank you you really helped me
Your welcome! Make sure to subscribe for more
Thanks for this video yesterday I was struggling but I think I have an idea of what I need to do now.
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? :)
Thanks so much for this lesson!
Your welcome!
really loved it
Thanks!
Thanks this helped so much i was struggling with it
Youre very welcome!
Tx bro
Youre welcome
I’m having issues sizing buttons and fonts for different devices both in storyboards and programmatically
Well Explained. Thank you!
Thank you for sharing, but how can I fill all the screen with the imageview without the blank from the safe area?
Your welcome. For this, you can just disable the safe areas in the storyboard
I am wondering how to launch few storyboards on the same screen on different devices at a time, to see how layouts behave.
Thanks... Great ! Thanks for sharing...
Great video! Continue with these videos, they are very helpful
thanks! Make sure to subscribe for more
@@iOSAcademy Yeah, I have done it. Btw do you have a tutorial on layout with textfields, buttons, labels etc?
I am struggling Really thank you
Thanks man,
Awesome video. Extremely helpful.
Thanks! Glad I can help. Make sure to subscribe and like for more
Great tutorial
#CodeWithMonika
Thanks
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 :)
Can someone please help
I have 11.3 Xcode and it doesn’t let me place constraints!!!!
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?
as always, very clear. Thank You very much. Subscribed!:)
You’re welcome
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.
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
can you demonstrate autolayout constraints with percentage?
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?
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
Hi thank you for this. And what's the difference between auto-layout and auto-resizing?
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
how to align a view to the bottom of safe area?
Pin to the bottom and set an appropriate height that you need
Zoom in - zoom out.We are not blind!
Maybe i am :)
How about being able to detect safeArea layouts in Xcode only?
Each view has a safeAreaInsets property
i was a boy!
and i got my peter pulled!
as a child!
AS A LITTLE BABY BOY!
Very painful to see zoom in and zoom out so repetitively.
New videos have no zoom
ugh, i hate this
Video or auto layout?
@@iOSAcademysorry i meant autolayout, video was useful thanks