Toolverse
All skills

axiom-camera-capture-ref

by CharlesWiltgen

Reference — AVCaptureSession, AVCapturePhotoSettings, AVCapturePhotoOutput, RotationCoordinator, photoQualityPrioritization, deferred processing, AVCaptureMovieFileOutput, session presets, capture device APIs

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Mobile
Views
3

About this skill

Reference — AVCaptureSession, AVCapturePhotoSettings, AVCapturePhotoOutput, RotationCoordinator, photoQualityPrioritization, deferred processing, AVCaptureMovieFileOutput, session presets, capture device APIs

How to use

  1. Zainstaluj skill w swoim projekcie Claude/Codex, dodając referencję do pliku axiom-camera-capture-ref z repozytorium CharlesWiltgen.

  2. Zaimportuj AVFoundation na początku pliku: import AVFoundation. Skill zawiera gotowe fragmenty kodu do skopiowania.

  3. Skonfiguruj sesję przechwytywania, tworząc instancję AVCaptureSession i ustawiając preset — na przykład .photo dla zdjęć lub .hd1920x1080 dla wideo Full HD. Dodaj wejście kamery (domyślnie szerokokątna kamera tylna) i wyjście (AVCapturePhotoOutput dla zdjęć lub AVCaptureMovieFileOutput dla wideo).

  4. Uruchom sesję w osobnej kolejce (DispatchQueue), aby uniknąć blokowania głównego wątku. Skill zawiera przykład z sessionQueue.async.

  5. Do przechwycenia zdjęcia utwórz AVCapturePhotoSettings, ustaw priorytet jakości (np. .balanced), i wywołaj capturePhoto(with:delegate:) na obiekcie wyjścia.

  6. Na iOS 17+ użyj RotationCoordinator do automatycznej obsługi orientacji urządzenia — skill zawiera kod do ustawienia kąta rotacji dla warstwy podglądu.

Related skills

react-native-architecture

by wshobson

Build production React Native apps with Expo, navigation, native modules, offline sync, and cross-platform patterns. Use when developing mobile apps, implementing native integrations, or architecting React Native projects.

Mobile
3978

app-store-optimization

by davila7

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

Mobile
1153

slidev

by XIYO

Comprehensive guide for Slidev - a web-based presentation framework for developers. Covers Markdown syntax, layouts, components, animations, theming, and exporting. Use this skill when creating or working with developer presentations using Slidev.

Mobile
223353

flutter-expert

by sickn33

Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment. Handles state management, animations, testing, and performance optimization for mobile, web, desktop, and embedded platforms. Use PROACTIVELY for Flutter architecture, UI implementation, or

Mobile
54112

react-native-design

by wshobson

Master React Native styling, navigation, and Reanimated animations for cross-platform mobile development. Use when building React Native apps, implementing navigation patterns, or creating performant animations.

Mobile
1964

android-kotlin-development

by aj-geddes

Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.

Mobile
152396