System/IO/Network Extension

I just read thru the WWDC 2019 developers conf pdf ---


Questions --


1) XCode 11 beta ( as of June 3rd) have templates only for DriveKit framework and Driver Kit Driver. Whereas the presentation shows Network Extensions too. Why missing it?


2) For SystemExtension, what is the template to use ? Is it Driver Kit Driver template to start with ?


3) Why the SDK documentations only have partial signature of the API's -- https://developer.apple.com/documentation/endpointsecurity/endpointsecurity_structures?language=objc


4) Why there are not any example codes ( unless I'm missing ) for System and other extensions ( user level ) ?


Appreciate it!

Thanks,

prokash

Replies

The Network Extensions for the Modern Mac talk does have some sample code available


https://developer.apple.com/videos/play/wwdc2019/714/


And the sample project


https://developer.apple.com/documentation/networkextension/filtering_network_traffic


Xcode does have a template for Network Extensions, you'll want to create an initial Mac app and then add a new target to it and the Network Extension will be one of the choices. The sample app above provides a good example.