Keeps the most complex iOS user interfaces smooth and responsive
open sourceApache-2.0free
Texture (formerly AsyncDisplayKit) is an iOS framework built on top of UIKit that keeps complex user interfaces smooth and responsive. Its basic unit is the node, a thread-safe abstraction over UIView, so whole hierarchies can be created and configured on background threads, and image decoding, text sizing and rendering and layout move off the main thread. It also removes boilerplate around cell reuse and preloading data for scrolling interfaces. It was built to make Facebook's Paper possible and powers Pinterest's app; Pinterest continues it under the Apache License 2.0. It runs on iOS and tvOS, from Objective-C or Swift, installed with CocoaPods or Carthage.
Problems it solves
- my iOS app drops frames while scrolling a complex feed
- move text layout and image decoding off the main thread in an iOS app
- avoid cell reuse bugs in a long list of mixed content on iOS
Features
- thread-safe nodes that wrap UIView and CALayer
- image decoding, text layout and rendering off the main thread
- preloading data for scrolling and paged interfaces
- removes cell-reuse boilerplate in lists and collections
- Objective-C and Swift, installed with CocoaPods or Carthage
