Skip to content

mgnt/TUSKit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TUSKit

Protocol Version License Platform

From tus.io:

Users want to share more and more photos and videos. But mobile networks are fragile. Platform APIs are a mess. Every project builds its own file uploader. A thousand one week projects that barely work, when all we need is one real project, done right.

We are going to do this right. We will solve reliable file uploads for once and for all. A new open protocol for resumable uploads built on HTTP. Simple, cheap, reusable stacks for clients and servers. Any language, any platform, any network.

TUSKit is a ready to use tus client for iOS.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

To test the example project you will need to point the app to a tus friendly server. You can find a list of tus implementations online. The example project is configured to point to http://127.0.0.1:8080/files. You can change this on line 14 of TKViewController.m

static NSString* const UPLOAD_ENDPOINT = @"http://127.0.0.1:1080/files";

You will, of course, need an example file to upload. I like videos cause they cover a few cases. You can find sample videos from Apple on online. Grab the .mov file.

Installation

TUSKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TUSKit"

License

TUSKit is available under the MIT license. See the LICENSE file for more info.

About

The tus client for iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 96.6%
  • Ruby 3.4%