uikit-development

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

UIKit Development Skill

UIKit开发技能

Build professional iOS interfaces with UIKit
使用UIKit构建专业iOS界面

Learning Objectives

学习目标

By completing this skill, you will:
  • Build complex view hierarchies programmatically
  • Master Auto Layout with NSLayoutConstraint
  • Implement modern collection views with diffable data sources
  • Create smooth animations and transitions
  • Ensure accessibility compliance
完成本技能学习后,你将能够:
  • 以编程方式构建复杂的视图层级
  • 借助NSLayoutConstraint精通Auto Layout
  • 实现基于可差分数据源的现代集合视图
  • 创建流畅的动画与转场效果
  • 确保无障碍合规性

Prerequisites

前置要求

RequirementLevel
iOS FundamentalsCompleted
SwiftIntermediate
要求水平
iOS Fundamentals已完成
Swift中级

Curriculum

课程内容

Module 1: View Hierarchy (4 hours)

模块1:视图层级(4小时)

Topics:
  • UIView fundamentals
  • UIStackView layouts
  • Custom view creation
  • Layer properties
主题:
  • UIView基础
  • UIStackView布局
  • 自定义视图创建
  • 图层属性

Module 2: View Controllers (5 hours)

模块2:视图控制器(5小时)

Topics:
  • UIViewController lifecycle
  • Container view controllers
  • Child VC management
  • Presentation styles
主题:
  • UIViewController生命周期
  • 容器视图控制器
  • 子VC管理
  • 展示样式

Module 3: Collection Views (6 hours)

模块3:集合视图(6小时)

Topics:
  • UICollectionViewCompositionalLayout
  • UICollectionViewDiffableDataSource
  • Cell registration (iOS 14+)
  • Self-sizing cells
主题:
  • UICollectionViewCompositionalLayout
  • UICollectionViewDiffableDataSource
  • 单元格注册(iOS 14+)
  • 自适应单元格

Module 4: Navigation (4 hours)

模块4:导航(4小时)

Topics:
  • UINavigationController
  • Coordinator pattern
  • Custom transitions
主题:
  • UINavigationController
  • 协调者模式
  • 自定义转场

Module 5: Animations (4 hours)

模块5:动画(4小时)

Topics:
  • UIView.animate
  • Spring animations
  • Keyframe animations
  • View controller transitions
主题:
  • UIView.animate
  • 弹性动画
  • 关键帧动画
  • 视图控制器转场

Module 6: Accessibility (3 hours)

模块6:无障碍(3小时)

Topics:
  • VoiceOver support
  • Dynamic Type
  • Color contrast
  • Accessibility labels
主题:
  • VoiceOver支持
  • 动态字体
  • 色彩对比度
  • 无障碍标签

Assessment Criteria

评估标准

CriteriaWeight
Layout implementation25%
Collection view usage25%
Navigation patterns20%
Animation quality15%
Accessibility15%
评估项权重
布局实现25%
集合视图使用25%
导航模式20%
动画质量15%
无障碍适配15%

Skill Validation

技能验证

  1. Custom Components: Build 5 reusable UI components
  2. Complex List: Multi-section collection view
  3. Navigation Flow: Coordinator-based navigation
  1. 自定义组件:构建5个可复用的UI组件
  2. 复杂列表:多分区集合视图
  3. 导航流程:基于协调者模式的导航