Top Tweets for #hstack
When it comes to the form, each step has two visual states - expanded or collapsed.
When collapsed, the step is wrapped in a HStack. When expanded, it switches to a VStack. AnyLayout is perfect here since it lets us swap between layouts while keeping the same child views

WTF is SwiftUI’s logic? 🤯
Text in a List:
.padding(.vertical, 7) → nope ❌,
.padding(.vertical, 8) → works ✅
Put the same Text in an HStack with an image:
.padding(.vertical, 5) → nope ❌,
.padding(.vertical, 6) → works ✅
Is this a feature or a bug? 😂 #SwiftUI

@CarlosBBuild I use a HStack with padding left and negative padding right
@hstackmann @Usucomenta Os peitos da Amanda são mais volumosos, são peitos bem bonitos e acima da média, os da Zoe são pequenos, bonitos mas pequenos.
It seems, not many uses GroupBox to group views that are logically related. There seems to be many such views that help with grouping apart from the usual VStack, HStack & ZStack.
Do you use these kind of views more often where applicable?

@DanGW_92 keyboardType(.decimalPad)
Or add i a minus toggle button in HStack to get negative numbers
@TheUnkn46543605 @hstackmann @Serafim_zx Ouso falar kkk
Pelo visto nunca ouviu falar em português tmbm. Em 2025 a pessoa não saber o q é refluxo só pode ter problema cognitivo.
@CarlosBBuild I would say it depends.
I’m not a big fan of HStack + 2 spacers so I’ll go for the .frame()
Another approach is just to set a side if needed for some views and don’t do anything for the others, knowing that every views (without parameters) are centered by default.
ゴリ押しでも400段目くらいまでなら表示可 文字数で変数名が
+ArrayFormula(Let(
r, 1,
ShiftSum, Lambda(r, HStack(0, r) + HStack(r, 0)),
Step, Lambda(Step, r, i, acc,
If(i = 0, r,
Step(Step, Mod(ShiftSum(r), 4), i - 1, VStack(acc, r))
)),
Step(Step, r, 400, 0)
))
記事を投稿しました~
東大数学をExcelで解く|ラムダちゃん https://t.co/3n5nSUG8jY
@AjPicard25 You add use Text("").yourViewModifier() + Text("").anotherViewModifier() instead of relying on an HStack to have multiple text styles
In SwiftUI, stacking views is super intuitive:
- VStack arranges views vertically (top to bottom)
- HStack arranges views horizontally (left to right)
- ZStack overlays views on top of each other

After hours of spinning in circles with Cursor and SwiftUI layout components (ScrollView, VStack, HStack...), I finally stumbled upon the magic prompt:
"Can you think of a workaround to fix how ScrollView handles horizontal scroll in portrait orientation?"
Keyword: WORKAROUND 😅🔑
I started to work on this for fun a few days ago: AI generated iOS apps. It's natively rendered with SwiftUI, and uses a scripting layer for the logic.
Only five components are supported so far (button, text, slider, hstack & vstack).
Looking for feedback from iOS devs. 🙂
Urgent need of an app? Just ask for it! 👌
(is this the "everything app"?? 😮)
That was a fun weekend project, and thank you so much @bloglaurel for the cute wizard bunny! ❤️
The tool generates native SwiftUI using @AnthropicAI Claude 3.5 Sonnet. It only knows about very few UI components, but it's easy to add more. I personally can't wait to give it access to the camera and some external connectivity... 😬
@daylon_ball @frvnk_nj This is good advice. Also using exclusively flexboxes helps a lot. Everything is just an hstack or vstack
When I want to add alignment to any stack (HStack or VStack) and press TAB, the content part also gets inserted automatically, which unnecessarily complicates the code.
Is there a way to avoid having to manually type the word "alignment" every time?
@DamilolaDami400 Cut the padding from the scroll view itself and apply it to the HStack that contains those buttons

@Latch_wtf Controlling categories, nice one! Will work on it. As well as vertical Hstack
@artem_scidev A combination of horizontal/vertical ScrollViews and many VStack/HStack for cards. Snapping worls fine on iOS 17
@Monzgomz Play with Zstack, VStack and HStack, before you able to sell your soul
@Clmtg2 Put a paste from clipboard button. Hstack 5 max length 1 boxes. Observe the boxes. And extend or subscript the 5 to 1 value string.
@zachcoriarty Even though the buttons are inside an HStack, that HStack is inside the List, and that's what is causing the issue
Last Seen Hashtags on Sotwe
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
239.3M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers

























