Swift image upload -> Best way do it...?

Hi everyone,

I have to save an object to Backendless with an image.
So the way I did was in my @IBAction func saveButtonPressed(sender: AnyObject) :

  • Save the image first in Backendless with the SyncAPI
  • Just right after create my new object + the uploadedFile.fileURL as a field of my new object.

Works fine, could be a bit long. But I was wondering if there would be another way, maybe faster, to send the whole object with the url without blocking the UI?

Thanks for your ideas.
Vincent

Hi!

In next iteration we will implement data-files relations support.
But currently I can not propose better approach than yours.
Regards,
Kate.

Has support be released for data-files relations?

No, data-files relations are not implemented yet.