How texturegroup/texture works
Project Type and Purpose
• This is an open-source UI framework (“Texture”, formerly AsyncDisplayKit) for iOS/tvOS, written primarily in Objective-C (with Swift interop).
• It provides a node-based abstraction (ASDisplayNode) over UIView/CALayer to move layout, drawing, and image/text processing off the main thread, boosting rendering performance.
File Structure Analysis
• Top-level: AsyncDisplayKit.xcodeproj, Podspecs (Texture.podspec), Cartfile, build scripts (CI/build.sh, build.sh).
• Source/: public API headers & implementations (ASDisplayNode, ASButtonNode, ASCollectionNode, ASLayoutSpec, etc).
• Source/Base, Source/Details, Source/Layout, Source/TextKit: core submodules (assertions/logging, layout engine, detailed controllers, text rendering).
• Source/Private: internal helpers, caches, private categories.
• Tests/: unit & snapshot tests validating modules.
• examples/: sample apps demonstrating use-cases.
• docs/: user guides and generated AppleDoc HTML.
README Insights
• Installs via CocoaPods/Carthage.
• Emphasizes off-main-thread node rendering, layout specs, async transactions.
• Highlights core abstractions: ASDisplayNode, transaction system, layout specs, image/text nodes.