LTFileQuickPreview 0.0.4

LTFileQuickPreview 0.0.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2018

Maintained by LTxMenu.



  • By
  • liangtong

LTFileQuickPriview

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.