I think the documentation pages have been borked a bit...

I was trying to check the documentation for handleNewUDPFlow over at https://developer.apple.com/documentation/networkextension/neappproxyprovider/3192017-handlenewudpflow and... it says it's deprecated on everything. Retroactively.

This may be an issue of timing in the documentation. I believe this is due to the updates made for NWEndpoint, and so this changed the method signature here. Can you open a bug report for this here, in case one is not already opened, and I can make sure it goes to the right place. Please post the Feedback ID here.

Matt Eaton - Networking

What changes were made to NWEndpoint?

I filed FB14076199

I filed FB14076199

Thanks.

What changes were made to NWEndpoint?

In macOS 15 beta we’ve put in a bunch of work to remove any dependencies on Network Extension framework’s in-provider networking APIs. So, an API like -handleNewUDPFlow:initialRemoteEndpoint:, which takes an NetworkExtension.NWEndpoint, has been deprecated in favour of -handleNewUDPFlow:initialRemoteFlowEndpoint:, which takes a nw_endpoint_t.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I think the documentation pages have been borked a bit...
 
 
Q