Post

Replies

Boosts

Views

Activity

Reply to How to Resolve DNS via Cellular Network
I'm in the same boat. I have a port knocking app that requires sending low-level packets. DNS resolution is something I need to do before I can use the typical socket() calls. Looks like CFHostGetAddressing is now deprecated, and not a lot of alternatives. I'll see if DNSServiceGetAddrInfo can work for me. I understand it's not a common use-case, but it's been an app that continues to get usage, so clearly there's a need.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to SwiftUI List row expansion causes weird bounce effect
Thanks @DTS Engineer for your reply. Unfortunately doing it that way results in no smooth animation -- the expansion simply "pops" rather than smoothly expanding. Also in my actual app, I have other animations I'm trying to trigger (e.g. fadein/out effects depending on the expansion state) that I believe this would negate? I suppose I could have a separate state for that. But it still allow the list row to smoothly expand/collapse like the default DisclosureGroupStyle. Is there no way to achieve behavior that is similar to the default? I'd consider a VStack, but then I lose the ability handle move/delete operations easily.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24