swiftui-screen

Community

SwiftUI screens powered by shared Kotlin MVVM.

Authorniltsiar
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Native iOS UI development with SwiftUI often duplicates complicated, platform-specific logic that could be shared across targets. This skill enables building screens backed by Kotlin Multiplatform ViewModels, ensuring StateFlow-driven UI and lifecycle coordination to be implemented once and reused across Android, iOS, and other targets.

Core Features & Use Cases

  • Direct SwiftUI integration with KMP ViewModels for non-parametric screens.
  • Parametric ViewModel support with ID-based screens and mock data for previews.
  • StateFlow bridging to SwiftUI using @State wrappers and .task-based observation.
  • SwiftUI Previews with Mock ViewModels for rapid visual testing.

Quick Start

Create a SwiftUI screen that consumes a KMP ViewModel using Direct Integration for non-parametric data or the parametric pattern for screens requiring parameters.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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-screen
Download link: https://github.com/niltsiar/kotlin_multiplatform_pokedex/archive/main.zip#swiftui-screen

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.