tus / TUSKit

The tus client for iOS.
https://tus.io/
MIT License
214 stars 115 forks source link

How to use this in kotlin multiplatform #148

Closed bestMechanic closed 1 year ago

bestMechanic commented 1 year ago

Is there any way this can be used inside a kotlin multiplatform project?

Acconut commented 1 year ago

I have no experience with Kotlin multiplatform, but I am not sure if you could use this library.

From their docs: https://kotlinlang.org/docs/native-objc-interop.html

A Swift library can be used in Kotlin code if its API is exported to Objective-C with @objc. Pure Swift modules are not yet supported.

TUSKit is entirely written in Swift without any Objective-C remaining, so I think we do not meet this requirement.

Acconut commented 1 year ago

Closing this for now. Let us know if you want to continue the discussion.