Climax
Climax

Reputation: 673

Apple Secure Transport API is deprecated, what alternatives are there

Hi according to this the API is deprecated and considered legacy. It is not specific about when it will be removed. They recommend using Network, though it doesn't have a low-level API for alternative transports/physical layers.

I plan on using it for securing Bluetooth communications (like a BLE Uart thing), which means the API should not be dependent on network transports. Secure Transport fits this bill.

  1. Is it okay to use this for future-safe developments?
  2. Is there an alternative that will support something with an obscure transport layer (like BLE)?

I've looked at Swift-nio and its children, and it looks like it may work when overriding Channel etc, though it is more geared toward network transports.

Upvotes: 1

Views: 326

Answers (0)

Related Questions