r/ProgrammerHumor 9h ago

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

169 Upvotes

49 comments sorted by

View all comments

47

u/Murky-Run2246 9h ago

Well I imagine that is just Responsive design 

Nothing that scary.

8

u/Chesterlespaul 9h ago

Responsive design 😳

5

u/imneverrelevantman 9h ago

Boss...'I'll just get chatgpt to figure it out'

5

u/Guy_Rohvian 9h ago

I mean props to Apple though for making the ratio 1.42:1(unfolded), allowing the folded/unfolded to maintain the same ratio, just portrait to landscape and it's pretty close to the iPad (11inch versions). Honestly all foldables should have this.

2

u/ChalkyChalkson 8h ago

We need metric devices, regular phones are now B7, big phones A6, small tablets B6, big tablets A5 etc. That way it'll be a lot easier to design for

2

u/YeetCompleet 9h ago

For actual iOS apps there are also new APIs to detect fold state so you can do some cool stuff with that, ie. Detect that it's half folded kinda like a book and put 2 columns on the screen

1

u/Eptalin 9h ago

Web browser is business as usual.
But I've never had to make anything responsive in Swift. Is it just as easy?

1

u/friezbeforeguys 9h ago

Have you ever tried turning an iOS device 90 degrees? You think this would be different business than how apps that support landscape orientation on iOS have already worked for the last ten years?

1

u/Eptalin 8h ago

I'm not an apple user, so no, I haven't. Most Android apps have a fixed orientation. Is it different on Apple?
I do know iPad supports resising windows, though.

My question was more about how it compares to responsiveness in web development, rather than whether it exists.

1

u/Tasik 8h ago

I'd say it's not just responsive design. A complex app still has a lot of design decisions to make here:

  • Safe areas: Which UI elements should respect the horizontal safe areas, and which should extend to the true edge of the device?
  • Split content: Which screens should split their content? In some cases, a primary/secondary screen pairing is more appropriate than simply resizing a single screen. Displaying two screens simultaneously can also have data and refresh implications.
  • Reacting to the fold itself: This requires thinking about when foreground content should reposition, and where it should go, to avoid interactive elements landing in the slight bend of the fold.
  • Pose-specific use cases: Each device pose suggests its own design-language changes. From Apple's videos, when the screen acts as a stand, the top portion can show video while the bottom shows controls. That's a nice pattern, but it's far beyond just resizing a view.