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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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