for 2022, this works >> BUT << tvOS apparently simply disallows ".clear". this works perfectly for any color other than ".clear"
Post
Replies
Boosts
Views
Activity
This works perfectly but again, currently tvOS simply does not allow a clear color. It substitutes in the standard milky white.
truly amazing tip - thanks!
Hi universalis, hopefully you see this message
Your answer above was literally one of the - let's say specifically - five must useful things I have ever seen, having spent 20 yrs reading sites like this and SO !
Really, thanks.
This is the only thing that works
For 2022, particularly for TVOS,
this does not actually do anything, it seems to just set the "mode" but not literally change the values.
The only actual solution seems to be the mbradea solution, just override safeAreaInsets. Thanks!
? David, that is precisely how you build mesh, while, drawing with a finger. How else could it be done ???
For the 2020s, total explanation: https://stackoverflow.com/a/75093081/294884
@meaton how are you, NWPathMonitor seems to take energy impact to 80% . . .
What do you think? Is it realistically usable?
TY
thank God you posted this. The usual insanity from Apple.
They screwed this up again in 15.4, maybe will be fixed in 16
thanks for posting!
This is wrong I'm afraid and should not be accepted.
As in almost any database milieu, the trick is to set the fetch limit to 1.
(Unrelated, note that with SwiftData (as of writing) when you're getting all items, there's no extra performance in getting only some columns - it's just a convenience measure.)