# zhenglibao/FlexLib

FlexLib是一个基于flexbox模型，使用xml文件进行界面布局的框架，融合了web快速布局的能力，让iOS界面开发像写网页一样简单快速

Repository: https://github.com/zhenglibao/FlexLib
Canonical: https://ross.abutalabs.com/products/flexlib
Language: Objective-C
License: MIT
License Family: permissive
Topics: autolayout, flexbox, yoga, ios, layout, framework, iphonex, hot-reload, screenshot, masonry, flexlib, xml, iphone-x, livereload, facebook, css, xml-layout, intellisense
Last push: 2025-11-25T12:40:36+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 54, release rhythm 28, longevity 100
- inputs: {"age_days": 3192, "days_push": 281, "days_rel": 496, "gap_med": 57.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1715, forks 258 (observed 2026-08-28T04:05:26.270822+00:00)

## What it is
FlexLib is an Objective-C layout framework for iOS based on the flexbox model, using XML files to define UI layouts with automatic variable and event binding. It brings web-style layout speed to iOS development, including hot preview, keyboard avoidance, and iPhone X adaptation.

## Use cases
- build iOS interfaces with XML flexbox layouts instead of autolayout
- hot reload UI layouts while developing an iOS app
- speed up iOS UI development like writing web pages
- adapt iOS layouts to iPhone X notch and safe areas
- avoid keyboard overlap in forms automatically
- use flexbox layout in Swift iOS projects

## When to choose
- you want faster, more readable iOS layouts than autolayout or Masonry
- your team is familiar with CSS flexbox and wants that model on iOS
- you need live/hot preview of UI changes during development

## When to avoid
- you are building for Android or cross-platform only
- you prefer SwiftUI or storyboard-based workflows
- the project requires a very actively maintained ecosystem

## Facets
- artifact type: framework
- maturity: maintenance
- function: ui-components, templating, state-management
- domain: mobile-development, frontend, web-development
- platform: cross-platform
- tags: flexbox, xml-layout, autolayout, hot-reload, objective-c, yoga, iphone-x, ui-framework, ios, mobile

## Member repositories
- zhenglibao/FlexLib (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:26.270822+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:34:37.311437+00:00, confidence not recorded.
  - readme: https://github.com/zhenglibao/FlexLib (fetched 2026-08-28T04:05:26.270822+00:00, sha 5696ee9e5083)
- Data as of 2026-08-30T08:39:29.467469+00:00.
