본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

symbolpicker

szpakkamil 제작

iOS & macOS Development
1.5kclawskills.sh가 보고한 다운로드 수
1스타
2조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Expert guidance on SymbolPicker, a native SwiftUI SF Symbol.

설명

이 스킬이 하는 일

SymbolPicker is a SwiftUI component for selecting SF Symbols on iOS, iPadOS, macOS, and visionOS. It mimics Apple's native picker interface and supports color binding, filled or outlined icon styles, and configurable dismissal behavior.

It replicates Apple's native SF Symbol picker UI, including search and color selection, without requiring developers to implement the sheet, bindings, and icon grid from scratch.

사용 시점

  • Letting users choose an icon for a custom task category
  • Selecting a symbol and color for a habit tracker entry
  • Picking shortcut icons in a launcher or home screen app
  • Customizing icons for bookmarks or saved notes
  • Building a symbol browser inside a SwiftUI design tool

예시 워크플로

입력

User asks: How do I add a symbol picker with color selection to a SwiftUI button?

에이전트
  1. 1

    Add the SymbolPicker package from GitHub via Swift Package Manager (min version 1.0.0)

  2. 2

    Import SymbolPicker in the SwiftUI file

  3. 3

    Declare @State variables for isPresented, symbolName (String), and color (Color)

  4. 4

    Attach .symbolPicker(isPresented:symbolName:color:) to a Button

  5. 5

    Apply .symbolPickerSymbolsStyle(.filled) and .symbolPickerDismiss(type: .onSymbolSelect) as needed

출력

A Button that opens a native-style symbol picker sheet with color selection, displaying filled icons and closing automatically after the user selects a symbol

요구 사항

  • SymbolPicker Swift package added via Swift Package Manager (https://github.com/SzpakKamil/SymbolPicker.git, minimum version 1.0.0)

설치

clawhub install szpakkamil/symbolpicker

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크