Post

Replies

Boosts

Views

Activity

Reply to NavigationLink pops back one view when a value changes (SwiftUI)
Could you post the complete code, so that one can test it ? Sorry, it's closed source, and it wouldn't work without a specific smart-hub anyway :-) I'm guessing it has something to do with $Bindings which I haven;t properly understood. The class heiractchy is something like this: CONTROLLER, has member [Device] an array of devices. Each Device has member [Endpoint] and array of endpoints. (Controller, device and endpoint are all classes) The first view has a binding to an array of [Controller] When you select an item in the first view it passes the selected Controller to the 2nd view. When you select an item in the second view it passes the selected Device to the 3rd view. The 3rd view shows all the Endpoints in the Device. The slider changes a value in the Endpoint. I don't see why changing a value in the Endpoint causes the Navigation to jump backwards by one scene!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Reply to Using NSBonjourServices and UDP Multicast in an iOS App - nightmare.
Always use a physical device when working on a project such as this. Well, yeah, that's what I am trying to do. I've put the Entitlements and Keys into the correct places. Problem is that my App ID does not have anywhere to specify that I need the entitlements, and Xcode is unable to automatically do it. I am sure I somehow need to request these additional entitlements, but I cannot find the place to do that.
Topic: Programming Languages SubTopic: Swift Tags:
May ’22
Reply to Using NSBonjourServices and UDP Multicast in an iOS App - nightmare.
After much google and StackOverflow browsing I found this page, which says I need to request the entitlement. But the link takes me to a page that says I'm not allowed to request that entitlement! I am an "admin" in my Development team and can do most things, but not this aparently. How can I request this entitlement? The only person above me in the development team is the CEO.. Do I have to go bother him to do it?
Topic: Programming Languages SubTopic: Swift Tags:
May ’22