Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikesyo/merthumbnailkit
A framework for generating thumbnails from urls, both local and remote. Built on top of ReactiveCocoa, compatible with iOS/OSX, 7.0+/10.9+.
https://github.com/ikesyo/merthumbnailkit
Last synced: 8 days ago
JSON representation
A framework for generating thumbnails from urls, both local and remote. Built on top of ReactiveCocoa, compatible with iOS/OSX, 7.0+/10.9+.
- Host: GitHub
- URL: https://github.com/ikesyo/merthumbnailkit
- Owner: ikesyo
- License: mit
- Created: 2014-05-16T03:51:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-16T03:55:20.000Z (over 10 years ago)
- Last Synced: 2025-01-02T19:01:30.344Z (8 days ago)
- Language: Objective-C
- Homepage:
- Size: 593 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
##MERThumbnailKit
A library for generating thumbnails from urls, both local and remote. Built on top of [ReactiveCocoa](https://github.com/ReactiveCocoa/ReactiveCocoa), compatible with iOS/OSX, 7.0+/10.9+.
Use the `thumbnailForURL:size:page:time:` method and its variants to generate thumbnails for a given url.
The library can also download files and cache them locally. See the `downloadFileWithURL:progress:` method for more information.
###Documentation
The headers are documented. Read them.
###Tests
Soon.
##Supported Formats
The library supports the following UTIs:
* **kUTTypeImage** (public.image)
* **kUTTypeMovie** (public.movie)
* **kUTTypePDF** (com.adobe.pdf)
* kUTTypeRTF (public.rtf)
* kUTTypeRTFD (com.apple.rtfd)
* kUTTypePlainText (public.plain-text)
* **kUTTypeHTML** (public.html)Additionally, it supports the following file extensions:
* Word (.doc, .docx)
* Powerpoint (.ppt, .pptx)
* Excel (.xls, .xlsx)
* CSV (.csv)*UTIs that are* **bolded** *indicate local and remote thumbnail generation is supported for that UTI.*
##Demo
The demo will load up anything it finds in a directory named "Files" within the main bundle. It creates and displays the thumbnails within a `UICollectionView` or `NSTableView`.