swift-data-flow

Community

Master SwiftUI data flow and state.

AuthorVoldemortGin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill clarifies the often confusing world of SwiftUI data flow and state management, helping developers choose the right property wrapper for any situation.

Core Features & Use Cases

  • Decision Matrix: Provides a clear, visual guide for selecting the appropriate state management tool based on data ownership and access needs.
  • Modern vs. Legacy: Explains the differences and usage of @Observable (iOS 17+) versus ObservableObject patterns.
  • Property Wrapper Reference: A comprehensive table detailing each wrapper, its ownership, type, use case, and minimum iOS version.
  • Use Case: When building a complex SwiftUI view, you can consult this Skill to determine whether to use @State, @Binding, @StateObject, or @EnvironmentObject for your data.

Quick Start

Explain the difference between @StateObject and @ObservedObject in SwiftUI.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: swift-data-flow
Download link: https://github.com/VoldemortGin/claude-skills/archive/main.zip#swift-data-flow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.