This is for apps that need to work with motorized iPhone stands like Belkin's MagSafe tracking mount. The framework handles the motor control and subject detection automatically through built-in ML, so you get pan and tilt tracking without writing computer vision code. System tracking runs out of the box with AVFoundation cameras, or you can disable it and feed your own Vision observations for custom behavior. The framing modes are nice if you need subjects positioned left or right instead of centered, which matters when you have UI overlays eating screen real estate. Requires iOS 17 and real hardware since the Simulator obviously can't talk to motors. Good for video calling apps, content recording tools, or anything where keeping a person in frame matters more than the camera operator.

skills.sh installs
3.2K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill dockkit --agent claude-code

Installs into .claude/skills of the current project.

Files

DockKit

Framework for integrating with motorized camera stands and gimbals that physically track subjects by rotating the iPhone. DockKit handles motor control, subject detection, and framing so camera apps get 360-degree pan and 90-degree tilt tracking with no additional code. Apps can override system tracking to supply custom observations, control motors directly, or adjust framing. iOS 17+, Swift 6.3.

Contents

Setup

Import DockKit:

import DockKit

DockKit requires a physical DockKit-compatible accessory and a real device. The Simulator cannot connect to dock hardware.

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Category
Mobile Development
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1dpearson2699 avatarbrowserenginekitdpearson2699/swift-ios-skillsBuild alternative browser engines using BrowserEngineKit. Use when developing a non-WebKit browser engine for iOS/iPadOS in supported regions, managing web cont3.2Kskills.sh installs
2dpearson2699 avatarrelevancekitdpearson2699/swift-ios-skillsIncrease widget visibility on Apple Watch using RelevanceKit. Use when providing contextual relevance signals for watchOS widgets, declaring time-based or locat3.2Kskills.sh installs
3dpearson2699 avatarsensorkitdpearson2699/swift-ios-skillsAccess research-grade sensor data using SensorKit for approved studies. Use when an app needs SensorKit entitlement setup, Research Sensor & Usage Data authoriz3.2Kskills.sh installs
4dpearson2699 avatartabletopkitdpearson2699/swift-ios-skillsBuilds multiplayer spatial board games using TabletopKit on visionOS. Use when creating tabletop game experiences with boards, pieces, cards, or dice; managing 3.1Kskills.sh installs
5nexu-io avatarswiftui-designnexu-io/open-designSwiftUI 前端设计 skill — anti AI-slop rules, design direction advisor, brand asset protocol, and five-dimension review. Works with Claude Code, Cursor, Codex, and O3Kskills.sh installs
6manutej avatardocker-compose-orchestrationmanutej/luxor-claude-marketplaceContainer orchestration with Docker Compose for multi-container applications, networking, volumes, and production deployment3Kskills.sh installs