Lukas Valenta

@lvalenta
235 Followers
280 Following
520 Posts
@valentalukas on Twitter. Swift Tech Lead at Cleevio. Chess player, PhD student at Faculty of Business Administration at @vsecz. Author of http://ivote.cz.
@cocoaphony haha I found out in November while interviewing - during live coding I expected UIImage with errors when turning on Swift6 compilation mode, only to find out that it is Sendable now 😃
@timroesner looks great!
@dlx yeah, makes sense.
@dlx of course. I’m sold, this modifier is truly missing. Am a bit sad I didn’t see it immediately.

@dlx aha, now i know what you mean, thank you. I think you can create the modifier yourself, with frame(width: 0).:

Color.blue
.frame(
minWidth: 10,
idealWidth: 150,
maxWidth: 300,
minHeight: 20,
idealHeight: 100,
maxHeight: 300
)
.frame(width: 0)

PS: pardon me, I never played with fixedSize + frame with min and idealWidth, mostly with Text or HStack.

@dlx I’d argue that ideal width equal min width in this context.
@dlx and that one I also consider min. How would the modifier you suggest work - what size it would “enforce”?
@dlx but there is no need, since fixedSize basically does that - telling it, to take min size it actually required for it to draw.
@christianselig @d4v depends on which dentist got free products from whom 😃
@mattesmohr @christianselig definitely support iO recommendation. Note: I used to work for P&G on Oral-B, but left before iO was released 😃