Skip to content

iOS README

zhangyanqiang edited this page Apr 26, 2018 · 1 revision

LiteApp是爱奇艺公司内 Android 移动架构组开发的适用于iOS/Android 两个平台的跨平台实现方案,该项目解决Webview性能问题上,提供了不同的,高效的解决方案。感兴趣的朋友可以下载demo,查看源码。

开源该项目旨在给业界在跨平台实现方案上提供更多的思路,在 Demo 中已经实现基本的业务场景,各位同学可以根据各自项目,加以利用。

How To Get Started

Features

  • A guarantee that main thread will never be blocked
  • Performances!
  • Use GCD and ARC

Communication

  • If you need help, use Email. (Tag 'LiteApp')
  • If you'd like to ask a general question, use Email.
  • If you found a bug, and can provide steps to reliably reproduce it, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Requirements

LiteApp Version iOS Target Notes
1.0 iOS 8+ is required. Xcode 9+ is required.

How To Use

#import "QIYIMPViewNavController.h"
...
    _asset =[[QIYIAssetsImpl alloc] init];
    _delegateImpl = [[QIYIDelegateImpl alloc] init];
    QIYIMPViewNavController* vc = [QIYIMPViewNavController alloc];
    vc = [vc init:_asset delegate:_delegateImpl];
    [self presentViewController:vc animated:YES completion:^{
    }];

Architecture

Webview

  • QIYIWebview
    • WKWebview
    • QIYIWebviewDelegate

Executor

  • QIYIExecutor
  • QIYIExecutorExport
  • QIYIThreadExecutor
  • QIYIThreadExecutorLocal
  • QIYIExecutorQueue
  • QIYIExecutorTimer

Container

  • QIYIContainer
    • QIYIContainerCombine
    • QIYIMPMainViewController

WebCache

  • QIYIURLProtocol
  • NSURLProtocol+QIYIAdd

Componet

  • QIYIVideoViewImpl
  • QIYIInputViewImpl
  • QIYITabbar
  • QIYINavigationBar

Credits

LiteApp was originally created by Guodong Cheng and Yanqiang Zhang .

LiteApp's logo was designed by Guodong Cheng

And most of all, thanks to LiteApp's Contributors

Security Disclosure

If you believe you have identified a security vulnerability with LiteApp, you should report it as soon as possible via email to Guodong Cheng . Please do not post it to a public issue tracker.

License

LiteApp is released under the Apache License, Version 2.0. See LICENSE for details.

Clone this wiki locally