How To Build Responsive User Interfaces with SwiftUI

How To Build Responsive User Interfaces with SwiftUI

CodeWithChris

3 года назад

27,907 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ictgamunu6038
@ictgamunu6038 - 25.08.2021 19:11

Fist comment ❤️

Ответить
@adesanyasegun1335
@adesanyasegun1335 - 25.08.2021 22:24

Been looking forward to this video! 😀

Ответить
@MrIMacro
@MrIMacro - 26.08.2021 23:29

R.I.P storyboard :(

Ответить
@w0mblemania
@w0mblemania - 27.08.2021 03:00

Thanks for this.
IMO, size classes are unusable.
They are good in theory, but they're far too broad.
e.g. An iPhone SE has the same size classes as an iPhone 11.
e.g. The iPhone 12 Mini which has the same logical width as an iPhone 7, but which is much taller.
If we designed around sizeClasses, we'd have the same layouts on a tiny SE as a huge Max Pro. That simply doesn't work in the real world.
I spent far too much time (years) messing around with size classes, and no longer use them.
I now get the metrics of the available space (or device) and have my own "size classes", which provide finer-grained control. e.g. iPhoneSE = smallHeight, iPhone7 = mediumHeight, iPhone12Mini = tallHeight, iPhone 11 = tallHeight. etc.
Obviously, this has its drawbacks and a maintenance. But Apple's SizeClasses have drawbacks that are insurmountable.
Cheers.

Ответить
@bubludunghul6377
@bubludunghul6377 - 27.08.2021 08:49

Bro how to create a own shopping app

Ответить
@ShaikJunaidth-C
@ShaikJunaidth-C - 27.08.2021 20:14

21st comment? 😂

Ответить
@josephferraro5295
@josephferraro5295 - 28.08.2021 03:12

Please show how to have multiple screens with updated swift code. None of your old storyboard videos work with swift anymore there is just a black screen if your code does not contain a "content view" file

Ответить
@Lucas-vb9cw
@Lucas-vb9cw - 28.08.2021 18:49

Chris, could you please make a video on how to make a video library app in Xcode that uses videos from a firebase storage folder. Or if you have a similar video please link me to it. Thx

Ответить
@Chrs007
@Chrs007 - 28.08.2021 22:46

🌿🌍👋👋👋 You're My Best Instructor...Keep it up..."Maen...!" Also I Need 't' be Enroll afresh On Precisely How 't' Create an I.O.S SYSTEM APP ...
Please ...N/B 'n' Emit Me the Charges... Okay...!🙏

Ответить
@MACQJR
@MACQJR - 29.08.2021 12:16

How do I get a quote for a new App?
- start up
- fintech, intuitive multifunction financial literacy app.

Ответить
@GeEazY420
@GeEazY420 - 11.10.2021 20:53

Thanks for content

Ответить
@rizqyfahmi8343
@rizqyfahmi8343 - 21.12.2021 04:11

Hi Chris,

It might be going out of context
I try to build an app using storyboard with some of images for background to make it full width and auto height in aspect fit with no distortion. The question is how big and how many images will I need to make in order to make a background image that will appear nearly the same across all iOS devices?

Anyway, thanks for the video. It's very helpfull.

Ответить
@arashx404
@arashx404 - 25.03.2022 13:48

Thank you legend 🔥🔥

Ответить
@griffinpenn9827
@griffinpenn9827 - 01.04.2022 06:58

A bit off topic, but what is that keyboard in the background in the intro?

Ответить
@andresc.1112
@andresc.1112 - 11.04.2022 23:22

I love you, thank you so much, gracias

Ответить
@BrandonJablasone
@BrandonJablasone - 05.01.2023 08:26

This is what I have been looking for. I prefer using the swiftUI interface rather than Storyboard

Ответить
@yourgflikesit
@yourgflikesit - 29.03.2023 12:41

But how to layout on an iPhone SE vs iPhone 14 pro max? They’re both regular height lol. But obviously way different.

Ответить
@faengelm
@faengelm - 21.04.2023 20:07

Is there a simulator for iPad mini? My code looks great on an iPad 9.7", but goes a bit off screen top & bottom on an iPad mini

Ответить
@kautsaralbana7366
@kautsaralbana7366 - 21.08.2023 10:39

So we need to use these condition in every view we made?!!

Ответить
@ssaguiar
@ssaguiar - 27.02.2024 03:47

Loved the video. I have a question: and if I have an app which must run in iPhones and iPads, how can I make the views behave the same? Thanks for your videos and tutorials.

Ответить
@mad7stringer
@mad7stringer - 13.03.2024 06:04

GeometryReader changes the layout of the UI it encompasses and by default puts the enclosed view in the upper left hand corner of the reader. This in most cases is not what you want as swiftui centers most of it's UI elements.

Ответить
@ThiagoMenezes-l4m
@ThiagoMenezes-l4m - 24.03.2024 17:52

🤌🏻

Ответить
@ssaguiar
@ssaguiar - 31.03.2024 04:22

The book is just a preview. You need to pay near 50 US $ to have it.

Ответить
@mayank_upadhyay_19
@mayank_upadhyay_19 - 10.04.2024 14:14

Looks like you are using a powerful mac, mine got hanged and had to restart when tried using multiple previews of different simulators.

Ответить
@MobileDeveloper1965
@MobileDeveloper1965 - 19.05.2024 06:12

Will you provide an updated version on your CWC+?

Ответить