l900416 / LTFileQuickPriview

[DEPRECATED] Support both online and local document & Multi-Media File Preview.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LTFileQuickPriview


[DEPRECATED] You can use https://github.com/liangtongdev/LTxCore instead

Use LTxCoreFilePreviewViewController instead.


Support both online and local document & Multi-Media File Preview. Easy to use.

Features

  • Support QuickLook Type File    
  • Support Web Page
  • Support Multi-Media File
  • Custom UI
  • File cache

Upcoming features

  • to be continue

Installation with CocoaPods

LTFileQuickPreview is available in CocoaPods, specify it in your Podfile:

pod 'LTFileQuickPreview'

Requirements

iOS 9+

Usage

Easy to use, all you need to do is:

init the viewController with file dataSource.

push or show the viewController.

That's all.

    //init
    LTQuickPreviewViewController* quickPreviewVC = [LTQuickPreviewViewController 
                                                        instanceWithURL:url];

    //push or show
    [self.navigationController pushViewController:quickPreviewVC animated:true];

License

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

About

[DEPRECATED] Support both online and local document & Multi-Media File Preview.

License:MIT License


Languages

Language:Objective-C 96.9%Language:Ruby 3.1%