swiftui-patterns

Community

Modern SwiftUI architecture and best practices.

AuthorFabio29T
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance and best practices for building modern, performant, and maintainable SwiftUI applications, focusing on state management, view composition, navigation, and optimization.

Core Features & Use Cases

  • State Management: Leverages @Observable for efficient, property-level state tracking, replacing older patterns like ObservableObject.
  • View Composition: Encourages breaking down complex UIs into smaller, reusable views for better performance and maintainability.
  • Navigation: Demonstrates type-safe navigation using NavigationStack and NavigationPath.
  • Performance Optimization: Offers strategies for optimizing rendering, especially for large lists and complex views.
  • Use Case: When developing a new feature in an iOS app that involves a list of items with search and detail views, this Skill can guide you on the best way to structure your ViewModels, handle user input, and implement smooth navigation.

Quick Start

Use the swiftui-patterns skill to implement a ViewModel using the @Observable macro for managing a list of items.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: swiftui-patterns
Download link: https://github.com/Fabio29T/Everything-Claude/archive/main.zip#swiftui-patterns

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.