# TangramKit/MyLayout

TangramKit is a powerful iOS UI framework implemented by Swift. It integrates the functions with Android layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,LayoutSizeClass to build your App 自动布局 UIView UITableView UICollectionView

Repository: https://github.com/youngsoft/TangramKit
Canonical: https://ross.abutalabs.com/products/tangramkitmylayout
Language: Swift
License: MIT
License Family: permissive
Topics: autolayout, android, swift, ios, constraints, uitableview, uicollectionview, xcode, ui, view, cocoapods, constraint, layoutsubviews, tangramkit, xib, storyboard
Last push: 2021-08-29T15:48:43+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3597, "days_push": 1830, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1212, forks 174 (observed 2026-08-28T04:04:00.409396+00:00)

## What it is
MyLayout is an Objective-C iOS UI layout framework that combines Android-style layout classes, iOS AutoLayout/SizeClass, and CSS float/flexbox concepts into a single view layout system. Its Swift counterpart is TangramKit, and it supports layouts like LinearLayout, RelativeLayout, FrameLayout, TableLayout, FlowLayout, FloatLayout, PathLayout, GridLayout, and LayoutSizeClass.

## Use cases
- build iOS interfaces without AutoLayout constraints
- port Android LinearLayout or RelativeLayout designs to iOS
- create flexbox-style layouts in UIKit
- implement responsive layouts with size classes
- support RTL layouts in iOS apps
- lay out table and collection view cells with complex arrangements

## When to choose
- you prefer code-based layout over Interface Builder constraints
- you're familiar with Android layout or CSS flexbox and want similar semantics on iOS
- you need a mature, MIT-licensed layout library with CocoaPods/Carthage support

## When to avoid
- you're building with SwiftUI or want a declarative modern approach
- your team is Swift-only and prefers native Swift solutions like SnapKit or SwiftUI
- you only need simple constraint-based layouts already well served by AutoLayout

## Facets
- artifact type: framework
- maturity: stable
- function: ui-components, frontend-framework
- domain: mobile-development, frontend, cross-platform
- platform: -
- tags: autolayout, flexbox, linear-layout, relative-layout, size-class, rtl, objective-c, cocoapods, uikit, ios, mobile, swift

## Member repositories
- youngsoft/TangramKit (main) score 23
- youngsoft/MyLinearLayout (mirror) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:00.409396+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-29T18:21:05.448164+00:00, confidence not recorded.
  - readme: https://github.com/youngsoft/TangramKit (fetched 2026-08-28T04:04:00.409396+00:00, sha 77e8e2cf0861)
- Data as of 2026-08-30T08:39:29.467469+00:00.
