Post

Replies

Boosts

Views

Activity

Comment on Query SwiftData model for max value of an attribute
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.)
Replies
Boosts
Views
Activity
Aug ’24
Comment on 2 second lag while switching between files by clicking them.
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!
Replies
Boosts
Views
Activity
Aug ’24
Comment on How to check if my network connected to mobile hotspot as Wifi
@meaton how are you, NWPathMonitor seems to take energy impact to 80% . . . What do you think? Is it realistically usable? TY
Replies
Boosts
Views
Activity
May ’24
Comment on Export animation from .dae
For the 2020s, total explanation: https://stackoverflow.com/a/75093081/294884
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on How can I create a custom mesh in RealityKit?
? David, that is precisely how you build mesh, while, drawing with a finger. How else could it be done ???
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on UICollectionViewCompositionalLayout cannot ignore safe area
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!
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on UICollectionViewCompositionalLayout cannot ignore safe area
This is the only thing that works
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on How to develop auto-update for MacOS application in Objective C?
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.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on UIButton setBackgroundImage for different states not working
truly amazing tip - thanks!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on Set focus colour of UITableViewCell in Apple TV
This works perfectly but again, currently tvOS simply does not allow a clear color. It substitutes in the standard milky white.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on Set focus colour of UITableViewCell in Apple TV
for 2022, this works >> BUT << tvOS apparently simply disallows ".clear". this works perfectly for any color other than ".clear"
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22