Can you write swift code interfacing with Endpoint Security and implementing a ES product?
swift with ES?
Can you write swift code interfacing with Endpoint Security … ?
Yes, although the API wasn’t really designed with Swift in mind. To use it from Swift you’ll need to become proficient with interfacing between Swift and low-level C APIs. You can find a bunch of info on that topic in Imported C and Objective-C APIs.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Adding to what Quinn has said. Yes, you can use Endpoint Security in Swift. The Endpoint Security header files include a module.modulemap file, which allows CLang to expose the C API in Swift. The headers also contain nullability annotations (e.g. _Nonnull and _Nullable).
Well, you can, but it's not really ideal.
Of course, you also can't make a product without Apple's permission, and we're at 8 months of "sorry, they'll let you know if they ever make a decision, and there is no escalation," so...