Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
从截图生成 Objective-C iOS 视图代码,支持懒加载模式和布局/数据分离。当用户需要:(1) 从截图生成 iOS UI 代码,(2) 生成 Objective-C 视图控制器或视图代码,(3) 创建遵循懒加载规范的 iOS 视图时触发此技能。
从截图生成 Objective-C iOS 视图代码,支持懒加载模式和布局/数据分离。当用户需要:(1) 从截图生成 iOS UI 代码,(2) 生成 Objective-C 视图控制器或视图代码,(3) 创建遵循懒加载规范的 iOS 视图时触发此技能。
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
从截图生成规范的 Objective-C iOS 视图代码。
#pragma mark - Life Cycle // 生命周期 #pragma mark - UI // UI 创建 #pragma mark - Layout // 布局约束 #pragma mark - Data // 数据加载 #pragma mark - Event Response // 事件响应 #pragma mark - Lazy Load // 懒加载
懒加载: 所有 UI 组件在 getter 中初始化 布局分离: setupUI 只负责 addSubView,setupConstraints 负责约束 数据分离: loadData 负责请求,refreshUI 负责绑定
使用 image 工具分析用户提供的截图: 识别 UI 层级结构 提取控件类型、数量、位置 估算尺寸和间距
@interface MyViewController () @property (nonatomic, strong) UIView *containerView; @property (nonatomic, strong) UILabel *titleLabel; // ... 其他属性 @end
详见 objc-view-patterns.md: 完整代码示例 常用 UI 组件初始化模板 Masonry / 原生 Auto Layout 布局方式
默认使用 Masonry 布局,若无则生成原生 Auto Layout 尺寸和间距使用估算值,用户可根据设计稿调整 颜色使用系统颜色 (systemBlueColor 等),便于适配暗色模式 图片资源使用占位符名称,用户需自行替换
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.