LayoutKit is a fast view layout library for iOS, macOS, and tvOS. LinkedIn created LayoutKit because we have found that Auto Layout is not performant enough for complicated view hierarchies in scrollable views. LayoutKit is as fast as manual layout code and is significantly faster than Auto Layout.Layouts can be computed in a background thread so user interactions are not interrupted. Layouts are declared with immutable data structures. This makes layout code easier to develop, document, code review, test, debug, profile, and maintain. Layout results are immutable data structures so they can be precomputed in the background and cached to increase user perceived performance.

Features

  • LayoutKit is as fast as manual layout code and is significantly faster than Auto Layout
  • Layouts can be computed in a background thread so user interactions are not interrupted
  • Layouts are declared with immutable data structures. This makes layout code easier to develop, document, code review, test, debug, profile, and maintain
  • Layout results are immutable data structures so they can be precomputed in the background and cached to increase user perceived performance
  • LayoutKit produces UIViews and also provides an adapter that makes it easy to use with UITableView and UICollectionView
  • LayoutKit automatically adjusts view frames for right-to-left languages

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow LayoutKit

LayoutKit Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LayoutKit!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Swift

Related Categories

Swift Libraries

Registered

2023-06-02