Coder Social home page Coder Social logo

adlai-holler / asyncdisplaykit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebookarchive/asyncdisplaykit

0.0 2.0 0.0 47.47 MB

Smooth asynchronous user interfaces for iOS apps.

Home Page: http://asyncdisplaykit.org

License: Other

Ruby 0.18% Objective-C 51.89% Objective-C++ 46.80% C++ 0.05% C 0.22% Shell 0.32% GCC Machine Description 0.01% Swift 0.53%

asyncdisplaykit's Introduction

AsyncDisplayKit

Apps Using Downloads

Platform Languages

Version Carthage compatible Build Status 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 youself 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.

asyncdisplaykit's People

Contributors

aaronschubert0 avatar adlai-holler avatar andyscott avatar appleguy avatar eanagel avatar ejensen avatar eke avatar ekurutepe avatar erichoracek avatar gareth-chillingo avatar garrettmoon avatar hannahmbanana avatar jack-stripe avatar knopp avatar lappp9 avatar levi avatar maicki avatar marmelroy avatar nguyenhuy avatar paulyoung avatar rahul-malik avatar rcancro avatar rnystrom avatar samhsiung avatar secretiverhyme avatar soniccat avatar srandazzo avatar tomizimobile avatar yue-wang-google avatar yury avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.