Skip to content

zeplin/cli-connect-swift-plugin

Repository files navigation

Zeplin CLI Swift Plugin

Zeplin CLI plugin to generate descriptions and code snippets for Swift components.

Installation

Install the plugin using npm.

npm install -g @zeplin/cli-connect-swift-plugin

Zeplin CLI Swift Plugin uses SourceKitten to analyze and collect information from Swift files. Install it by following the instructions.

SourceKitten installation instructions

Usage

Run CLI connect command using the plugin.

zeplin connect -p @zeplin/cli-connect-swift-plugin

<TODO: Describe what types of Swift classes are supported with examples.>

About Connected Components

Connected Components in Zeplin lets you access components in your codebase directly on designs in Zeplin, with links to Storybook, GitHub and any other source of documentation based on your workflow. 🧩

Zeplin CLI uses plugins like this one to analyze component source code and publishes a high-level overview to be displayed in Zeplin.