Toot

Written by David Beck :xcode: on 2024-11-20 at 18:51

I think I just realized when Swift's type system goes from helpful to hurtful: when it stops being self documenting.

For instance, with a UILabel you can look at the type and know exactly what you can do with it. It has a lineBreakStrategy property, so you know that can be customized.

On the other hand, SwiftUI Text has almost no properties outside of what it inherits from View. So like a giant box of legos, you have to go searching for the modifiers that apply to Text.

=> More informations about this toot | View the thread | More toots from david@tnku.co

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113516785795859524
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
223.386854 milliseconds
Gemini-to-HTML Time
0.369565 milliseconds

This content has been proxied by September (ba2dc).