[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7004":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},7004,"LayoutKit","LinkedInAttic\u002FLayoutKit","LinkedInAttic","LayoutKit is a fast view layout library for iOS, macOS, and tvOS.","http:\u002F\u002Flayoutkit.org",null,"Swift",3135,261,5,41,0,1,59.35,"Apache License 2.0",true,false,"master",[24,25,26,27,28,29,30,31,32],"ios","layout-engine","layoutkit","linkedin","macos","objective-c","swift","tvos","ui","2026-06-12 04:00:31","# 🚨 UNMAINTAINED 🚨 \n\nThis project is no longer used by LinkedIn and is currently unmaintained.\n\n# [![LayoutKit](https:\u002F\u002Fcdn.rawgit.com\u002Flinkedin\u002FLayoutKit\u002Fmaster\u002Fdocs\u002Fimg\u002Flayoutkit.svg)](http:\u002F\u002Flayoutkit.org\u002F)\n\n[![CocoaPods](https:\u002F\u002Fimg.shields.io\u002Fcocoapods\u002Fp\u002FLayoutKit.svg?maxAge=3601)](#)\n[![GitHub release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002Flinkedin\u002Flayoutkit.svg?maxAge=3600)](https:\u002F\u002Fgithub.com\u002Flinkedin\u002FLayoutKit\u002Freleases)\n[![Build Status](https:\u002F\u002Ftravis-ci.org\u002Flinkedin\u002FLayoutKit.svg?branch=master)](https:\u002F\u002Ftravis-ci.org\u002Flinkedin\u002FLayoutKit)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Flinkedin\u002FLayoutKit\u002Fbranch\u002Fmaster\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Flinkedin\u002FLayoutKit)\n\nLayoutKit is a fast view layout library for iOS, macOS, and tvOS.\n\n## Motivation\n\nLinkedIn created LayoutKit because we have found that Auto Layout is not performant enough for complicated view hierarchies in scrollable views.\nFor more background, read the [blog post](https:\u002F\u002Fengineering.linkedin.com\u002Fblog\u002F2016\u002F06\u002Fopen-sourcing-layoutkit--a-fast-view-layout-library-for-ios-appl).\n\n## Benefits\n\nLayoutKit has many benefits over using Auto Layout:\n\n- **Fast**: LayoutKit is as fast as manual layout code and is [significantly faster than Auto Layout](http:\u002F\u002Flayoutkit.org\u002Fbenchmarks).\n- **Asynchronous**: Layouts can be computed in a background thread so user interactions are not interrupted.\n- **Declarative**: Layouts are declared with immutable data structures. This makes layout code easier to develop, document, code review, test, debug, profile, and maintain.\n- **Cacheable**: Layout results are immutable data structures so they can be precomputed in the background and cached to increase user perceived performance.\n\nLayoutKit also provides benefits that make it as easy to use as Auto Layout:\n\n- **UIKit friendly**: LayoutKit produces UIViews and also provides an adapter that makes it easy to use with UITableView and UICollectionView.\n- **Internationalization**: LayoutKit automatically adjusts view frames for right-to-left languages.\n- **Swift**: LayoutKit can be used in Swift applications and playgrounds.\n- **Tested and production ready**: LayoutKit is covered by unit tests and is being used inside of recent versions of the [LinkedIn](https:\u002F\u002Fitunes.apple.com\u002Fus\u002Fapp\u002Flinkedin\u002Fid288429040?mt=8) and [LinkedIn Job Search](https:\u002F\u002Fitunes.apple.com\u002Fus\u002Fapp\u002Flinkedin-job-search\u002Fid886051313?mt=8) iOS apps.\n- **Open-source**: Not a black box like Auto Layout.\n- **Apache License (v2)**: Your lawyers will be happy that there are no patent shenanigans.\n\n## Hello world\n\n```swift\nlet image = SizeLayout\u003CUIImageView>(width: 50, height: 50, config: { imageView in\n    imageView.image = UIImage(named: \"earth.jpg\")\n})\n\nlet label = LabelLayout(text: \"Hello World!\", alignment: .center)\n\nlet stack = StackLayout(\n    axis: .horizontal,\n    spacing: 4,\n    sublayouts: [image, label])\n\nlet insets = UIEdgeInsets(top: 4, left: 4, bottom: 4, right: 8)\nlet helloWorld = InsetLayout(insets: insets, sublayout: stack)\nhelloWorld.arrangement().makeViews(in: rootView)\n```\n\n![Hello world example layout](docs\u002Fimg\u002Fhelloworld.png)\n\n## Limitations\n\nWe have found LayoutKit to be a useful tool, but you should be aware of what it is not.\n\n* LayoutKit is not a constraint based layout system. If you wish to express a constraint between views, then those views need to be children of a single layout that implements code to enforce that constraint.\n* LayoutKit is not [flexbox](https:\u002F\u002Fwww.w3.org\u002FTR\u002Fcss-flexbox-1\u002F), but you may find similarities.\n\n## Installation\n\nLayoutKit can be installed with [CocoaPods](https:\u002F\u002Fcocoapods.org\u002F) or [Carthage](https:\u002F\u002Fgithub.com\u002FCarthage\u002FCarthage).\n\n### CocoaPods\n\nAdd this to your Podspec:\n```\npod 'LayoutKit'\n```\n\nThen run `pod install`.\n\n### Carthage\n\nAdd this to your Cartfile:\n```\ngithub \"linkedin\u002FLayoutKit\"\n```\n\nThen run `carthage update`.\n\n## Documentation\n\nNow you are ready to start [building UI](http:\u002F\u002Flayoutkit.org\u002Fbuilding-ui).\n","LayoutKit是一个为iOS、macOS和tvOS设计的快速视图布局库。其核心功能包括异步计算布局以避免阻塞用户交互、声明式布局定义以及缓存布局结果以提高性能。相比Auto Layout，LayoutKit在处理复杂滚动视图层次结构时表现出色，速度更快且易于使用。适用于需要高性能UI渲染的应用场景，特别是那些包含大量动态或复杂布局调整需求的应用程序。尽管该项目目前处于无人维护状态，但其设计理念和技术实现仍对开发者具有参考价值。",2,"2026-06-11 03:10:04","top_language"]