tus / TUSKit

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

Can I use it in an OC project #157

Closed zyn666 closed 1 year ago

zyn666 commented 1 year ago

Can I use it in an OC project

donnywals commented 1 year ago

What's an OC project?

Acconut commented 1 year ago

If you mean Objective-C, then no, we do not provide an Objective-C interface. You would have to write your own bridge.

zyn666 commented 1 year ago

If you mean Objective-C, then no, we do not provide an Objective-C interface. You would have to write your own bridge.

image I use it in a swift file ,but failed。I can only use it in the controller to make it work

zyn666 commented 1 year ago

image I use FileToolSwift in an Objective-C file,but failed

donnywals commented 1 year ago

Could you provide some more information on what you mean when you say that it failed?

zyn666 commented 1 year ago

image can not enter delegate method

zyn666 commented 1 year ago

but I use “uploadMultiple” method success in a VIewcontroller

zyn666 commented 1 year ago

through FileToolSwift file to use “uploadMultiple” will failed

donnywals commented 1 year ago

Are you getting any messages in the console about what failed? I've read other issues where Objective-C doesn't seem to play nice with the delegate so I'm wondering whether it's the same issue.

If you have a sample project I can check out and look at that would be amazing...

Acconut commented 1 year ago

Closing this issue due to inactivity. Feel free to leave a comment if you want to continue the discussion :)