AsyncDisplayKit

Smooth asynchronous user interfaces for iOS apps.

  • 所有者: facebookarchive/AsyncDisplayKit
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

AsyncDisplayKit

Apps Using
Downloads

Platform
Languages

Version
Carthage compatible
License

Installation

ASDK is available via CocoaPods or Carthage. See our Installation guide for instructions.

Performance Gains

AsyncDisplayKit's basic unit is the node. An ASDisplayNode is an abstraction over UIView, which in turn is an abstraction over CALayer. Unlike views, which can only be used on the main thread, nodes are thread-safe: you can instantiate and configure entire hierarchies of them in parallel on background threads.

To keep its user interface smooth and responsive, your app should render at 60 frames per second — the gold standard on iOS. This means the main thread has one-sixtieth of a second to push each frame. That's 16 milliseconds to execute all layout and drawing code! And because of system overhead, your code usually has less than ten milliseconds to run before it causes a frame drop.

AsyncDisplayKit lets you move image decoding, text sizing and rendering, layout, and other expensive UI operations off the main thread, to keep the main thread available to respond to user interaction.

Advanced Developer Features

As the framework has grown, many features have been added that can save developers tons of time by eliminating common boilerplate style structures common in modern iOS apps. If you've ever dealt with cell reuse bugs, tried to performantly preload data for a page or scroll style interface or even just tried to keep your app from dropping too many frames you can benefit from integrating ASDK.

Learn More

Getting Help

We use Slack for real-time debugging, community updates, and general talk about ASDK. Signup yourself or email AsyncDisplayKit(at)gmail.com to get an invite.

Contributing

We welcome any contributions. See the CONTRIBUTING file for how to get involved.

License

AsyncDisplayKit is BSD-licensed. We also provide an additional patent grant. The files in the /examples directory are licensed under a separate license as specified in each file; documentation is licensed CC-BY-4.0.

主要指标

概览
名称与所有者facebookarchive/AsyncDisplayKit
主编程语言Objective-C++
编程语言Objective-C (语言数: 7)
平台
许可证Other
所有者活动
创建于2014-06-27 05:29:02
推送于2019-06-04 13:20:20
最后一次提交2018-01-02 16:16:43
发布数44
最新版本名称2.3.1 (发布于 )
第一版名称1.0beta (发布于 )
用户参与
星数13.4k
关注者数542
派生数2.2k
提交数4.2k
已启用问题?
问题数1368
打开的问题数24
拉请求数1662
打开的拉请求数2
关闭的拉请求数279
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?