Skip to content

Releases: amosavian/FileProvider

Replaced absoluteURL with relative url (resolved #27)

31 Jan 13:51
Compare
Choose a tag to compare

This is mainly a bug fix release:

  • Renamed DropboxFileProvider.copyItem(path:toRemoteURL:) to DropboxFileProvider.copyItem(remoteURL:toPath:) due to logic
  • improving performance.

Added CloudFileProvider, NSFileCoordinator used in Local provider

30 Jan 22:35
Compare
Choose a tag to compare

Now you can use CloudFileProvider to easily access iCloud container registered with your app. It will create Documents folder in the container automatically.

  • It's important not to call its initializer in main thread according to Apple Documentation.

Other changes:

  • Added isCoordinating property to LocalFileProvider: which makes all functions to use NSFileCoordinator when reading and writing. It's necessary to set true for shared container and iCloud files.
  • Added `LocalFileProvider.init(sharedContainerId:, directory:) to acces application shared container easily.
  • bug fix: Range header for remote provider is one-byte extended.

Added iCloud Drive provider: CloudFileProvider

26 Jan 22:51
Compare
Choose a tag to compare

Now you can use CloudFileProvider to easily access iCloud container registered with your app. It will create Documents folder in the container automatically. It's important not to call its initializer in main thread according to Apple Documentation.
Also:

  • Refactored initializers
  • Replaced NSSearchPathForDirectoriesInDomains with FileManager.urls(for:In:)

Fixed crashing bug

18 Jan 06:52
Compare
Choose a tag to compare
0.10.1

Fixed crashing bug

Added OneDrive support

16 Jan 20:12
Compare
Choose a tag to compare
  • removed unnecessary MediaPlayer.framework dependency due to macOS
  • fixed multiple Dropbox provider bugs

Added Thumbnail and Meta-information generator to Local and Dropbox

16 Jan 12:09
Compare
Choose a tag to compare

Use ExtendedFileProvider.propertiesOfFile() method to fetch file metadata information for images(Dimensions, Exposure, ISO, Date taken, Location, etc.), videos(Duration and Dimensions), music(Duration, Title, Artist, etc.) and pdf(Title, Creation/Modification Date, etc.) files. Also use ExtendedFileProvider.thumbnailOfFile() to generate thumbnail preview of images.

For more information, please read Readme.md

  • Please note it won't cache generated information. if you don't do it yourself, it may hit you app's performance.

Adding FileObjectSorting, file size bug fix

15 Dec 11:42
Compare
Choose a tag to compare
  • Added FileObjectSorting to sort array of Fileobjects in a more standard way
  • bugfix: Dropbox/Webdav file size was -1 regardless of real size

Overwrite argument added

09 Dec 17:44
Compare
Choose a tag to compare
  • Added: Overwrite argument to copy. move and writeContents functions
  • Added: File-based uploading to Dropbox
  • Bugfix: Dropbox time for non-UTC timezones
  • Bugfix: optimized compile time/memory by explicit type annotating
  • Deprecation: FileObject.fileType, use .type instead

Bugfix

07 Dec 16:03
Compare
Choose a tag to compare

Fixed several bugs in Dropbox file provider and a bug in FileObject.fileType

Dropbox new methods and FileObject encapsulation

03 Dec 17:13
Compare
Choose a tag to compare
  • Added temporaryLink(to:) method for Dropbox provider get_temporary_link API
  • Added copyItem(path, toRemoteURL:) method for Dropbox provider save_url API
  • Fixed initialization of FIleObject classes and accesses, now in par with URLResourceValues