microsoft / cpp_client_telemetry

1DS C++ SDK
Apache License 2.0
85 stars 48 forks source link

Hiding all ObjC types behind Swift wrappers #1176

Closed absaroj closed 11 months ago

absaroj commented 11 months ago

Public Swift Wrapper API should not be exposing any of the ObjC types to make sure clients are not dependent on ObjC, in case in future we want to bypass ObjC layer and access Cpp apis directly from swift (announced in wwdc23).

data storage is happening still at the objc layer, but that can be brought back to swift layer later if required (when we plan to bypass objc) due to clients not having objc dependency.