# QMUI/QMUI_iOS_CodeSnippets

用于Xcode使用的iOS通用代码片段，其中也包含若干专用于QMUI iOS框架的代码片段。

Repository: https://github.com/QMUI/QMUI_iOS_CodeSnippets
Canonical: https://ross.abutalabs.com/products/qmui_ios_codesnippets
License: MIT
License Family: permissive
Topics: xcode, code-snippets, qmui
Last push: 2021-11-29T11:58:38+00:00

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

## Adoption (not part of the score)
Stars 1092, forks 231 (observed 2026-08-28T04:03:33.222581+00:00)

## What it is
A collection of Xcode code snippets for iOS development, maintained by the QMUI team, including general-purpose snippets and some specific to the QMUI for iOS framework. Snippets cover common boilerplate like property declarations, singletons, and method swizzling.

## Use cases
- speed up writing iOS property declarations in Xcode
- avoid forgetting to call super when overriding parent class methods
- quickly implement a singleton in Objective-C
- generate method swizzling boilerplate
- insert common Objective-C and Swift code patterns via shortcuts

## When to choose
- you do daily iOS development in Xcode and want to reduce repetitive typing
- you use the QMUI for iOS framework and want its helper snippets
- you want snippets for tricky syntax like swizzle or dispatch_once

## When to avoid
- you develop for Android or use editors other than Xcode
- your team does not use Objective-C/Swift iOS snippets
- you need a maintained tool with recent updates (last release 2021)

## Facets
- artifact type: plugin
- maturity: maintenance
- function: developer-tools, editor
- domain: developer-tools, mobile-development
- platform: editor-plugin
- tags: xcode, code-snippets, ios, objective-c, swift, qmui, macos

## Member repositories
- QMUI/QMUI_iOS_CodeSnippets (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.222581+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-30T06:49:00.032706+00:00, confidence not recorded.
  - readme: https://github.com/QMUI/QMUI_iOS_CodeSnippets (fetched 2026-08-28T04:03:33.222581+00:00, sha e1525f4f1665)
- Data as of 2026-08-30T08:39:29.467469+00:00.
