Top Tweets for #vstack
Spot the bug. It's subtle:
VStack(alignment: .leading) {
Text("Email")
TextField("", text: $email)
}
Looks labeled. It isn't. VoiceOver just announces "text field." A Text sitting next to a field is not a label. The name has to be on the field itself.
I built Xcessible to catch these, it scans your Xcode projects SwiftUI source and lists every one. Try it for free
https://t.co/l2HcjVnLiD
Most iOS apps don’t lose because of code.
They lose because they look cheap.
You can have perfect architecture
clean MV
beautiful repositories
…and still ship something that feels like a student project.
Stop:
– murdering the screen with gradients
– throwing SF Symbols everywhere
– using 13 different font weights
– padding 17 here, 22 there, 11 somewhere else
– saying “eh it’s fine”
It’s not fine.
If you want your app to actually feel premium:
- Download a proper minimal icon set (outline, consistent stroke).
- Drop the folder into your iOS project.
- Move the icons into Assets.
- No SF Symbols.
Then paste the style prompt below into your AI.
Force constraints.
Force hierarchy.
Force taste.
Most devs are just stacking VStack.
Are you building product…
or just arranging rectangles?
👇 Prompt in comments

Bug wise Apple are right - on iPad this view is cooked for SimplePoo
I do even remember when I changed ScrollView to VStack here 🤔

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

The text carousel renders five text/icon pairs in a VStack, with a gradient mask overlayed so the first and last pairs fade out.
A timer fires every 2 seconds - removing the last pair from the array and inserting the next one at the start. This is wrapped in a withAnimation block which animations the motion smoothly
🚀 Starting my **iOS dev journey** with SwiftUI!
Built my first project where I:
✅ Added image + text
✅ Styled with modifiers
✅ Played with ZStack & VStack
✅ Used background colors 🎨
Excited to explore similarities with Android Compose!
📂 GitHub: https://t.co/9L0pUOWxlN

@iSapozhnik @kvnhermawan The idea is nice but I’d use modifiers to enrich the view it’s applied to, not replace. It’s quite unreadable and hard to follow cause you have to think if the VStack will actually stay or not. I’d rather just do a simple switch-case
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?

@CarlosBBuild I'm confused why you need an extension and enum, perhaps it's due to the missing code.
Below works perfectly fine for me for localisation.
VStack(spacing: 4) {
Text(isOn ? "stop_text" : "start_text")
Text("tracking_text")
}
From Obj-C to SwiftUI → iOS dev has grown up a lot.
We suffered so you could VStack {} in peace. 🫡
The lesson? Tools evolve, the pain fades, but building for iOS is always worth it. 🍏
@zeyrie_dev The background of your VStack in Preview is set to grey. Set it to clear...
@CarlosBBuild Or you just do this.
VStack(alignment: .center, spacing: 20) {
/// stuff here
}
ゴリ押しでも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
VStack 😋

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 😅🔑
@VStackSats @XSTAC1 GM FAM! 🫡
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... 😬
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
























