跳到正文
cccskills

开发技能

编码规范、框架、重构、代码审查(1.9万 个)

按价格或排序方式筛选

Build iOS AR scenes with RealityKit and ARKit. Add 3D models, place objects on detected surfaces, handle camera and device support, and make entities respond to gestures. The skill also explains how virtual object picking differs from raycasts against real-world surfaces.

中文简介正在准备中。当前显示英语简介。

  • Adding 3D models to a RealityView
  • Placing objects on detected floors or walls
  • Handling camera access and unsupported devices
dpearson2699/swift-ios-skills12432026年8月1日 更新

Format and parse values such as numbers, currencies, dates, measurements, and URLs with Foundation’s locale-aware styles. Learn when to use built-in styles, how to connect them to SwiftUI text, and how to review displayed output across locales.

中文简介正在准备中。当前显示英语简介。

  • Replacing legacy number or date formatters
  • Formatting values in SwiftUI views
  • Parsing user-entered currency or decimals
dpearson2699/swift-ios-skills12432026年8月1日 更新

Build SwiftUI screens with stacks, grids, lists, forms, search, scrolling, and overlays. The guidance helps choose suitable containers for collections and settings, wire common controls, and handle scrolling or transient messages in iOS interfaces.

中文简介正在准备中。当前显示英语简介。

  • Building a data-driven collection or feed
  • Creating settings and input forms
  • Adding search to a SwiftUI screen
dpearson2699/swift-ios-skills12432026年8月1日 更新

Build parental approval flows for child-to-contact communication in Apple apps. Check whether a contact is known to the system, send a permission request through iMessage, and handle the parent’s approval or denial, including canceled and pending requests.

中文简介正在准备中。当前显示英语简介。

  • Requesting parent approval before a child messages or calls someone
  • Checking whether a communication contact is already known to the system
  • Handling approval, denial, cancellation, or pending permission requests
dpearson2699/swift-ios-skills12432026年8月1日 更新

Implement shared experiences in Apple-platform apps with GroupActivities and SharePlay. Coordinate session setup, participant changes, small state messages, and shared media playback, with guidance for invitations, larger attachments, late joiners, and cleanup.

中文简介正在准备中。当前显示英语简介。

  • Add SharePlay to a shared video or audio experience
  • Sync collaborative app state or game turns
  • Handle session joining, leaving, and participant changes
dpearson2699/swift-ios-skills12432026年8月1日 更新

widgetkit

免费

Build and review WidgetKit widgets for Home Screen, Lock Screen, StandBy, CarPlay, and Control Center. Configure timelines, user interactions, deep links, relevance, and push reloads, and adapt layouts to widget families and rendering modes.

中文简介正在准备中。当前显示英语简介。

  • Create a configurable Home Screen widget
  • Add buttons or toggles to a widget
  • Build a Control Center control
dpearson2699/swift-ios-skills12432026年8月1日 更新

storekit

免费

Implement and review StoreKit 2 purchases and subscriptions, from paywalls and transaction handling to entitlement checks and renewals. Get guidance for purchase verification, restores, offers, refunds, and testing purchase flows with StoreKit configuration files.

中文简介正在准备中。当前显示英语简介。

  • Building a subscription paywall
  • Implementing consumable or one-time purchases
  • Verifying transactions and updating entitlements
dpearson2699/swift-ios-skills12432026年8月1日 更新

scenekit

免费

Maintain and extend existing SceneKit 3D scenes in Apple platform apps. Get help with scene graphs, materials, lights, cameras, animation, physics, particles, model assets, shaders, and SwiftUI display, while accounting for SceneKit’s maintenance status.

中文简介正在准备中。当前显示英语简介。

  • Fixing or extending an existing SceneKit scene
  • Adding lighting, materials, cameras, or animation
  • Reviewing physics, particles, or model loading
dpearson2699/swift-ios-skills12432026年8月1日 更新

Integrate WeatherKit to show current conditions, forecasts, precipitation, and weather alerts. The skill covers selective data queries, historical context, response caching, location access, availability limits, and the Apple Weather attribution required in apps.

中文简介正在准备中。当前显示英语简介。

  • Showing current conditions and forecasts in an app
  • Adding weather alerts or minute precipitation
  • Comparing forecasts with historical weather
dpearson2699/swift-ios-skills12432026年8月1日 更新

Build and review data visualizations with Swift Charts, from common bar, line, area, and pie charts to interactive selections, scrolling, annotations, and legends. The skill also covers large datasets, accessibility checks, and spatial or surface charts for iOS 26+.

中文简介正在准备中。当前显示英语简介。

  • Creating bar, line, area, pie, or donut charts
  • Adding chart selection, scrolling, labels, or legends
  • Plotting functions or visualizing large datasets
dpearson2699/swift-ios-skills12432026年8月1日 更新

Connect UIKit and SwiftUI in either direction. Wrap UIKit views and controllers, host SwiftUI inside UIKit screens, synchronize shared state, and integrate system surfaces such as mail, sharing, documents, PDFs, and text views during incremental migration.

中文简介正在准备中。当前显示英语简介。

  • Wrapping a UIKit-only view for use in SwiftUI
  • Embedding SwiftUI screens in an existing UIKit app
  • Connecting delegate callbacks to SwiftUI state
dpearson2699/swift-ios-skills12432026年8月1日 更新

Build spatial board games for visionOS with TabletopKit and RealityKit. The skill covers boards, pieces, cards, dice, player seats and turns, gesture-based interactions, game state actions, and synchronizing play through FaceTime Group Activities.

中文简介正在准备中。当前显示英语简介。

  • Creating a spatial board with interactive pieces and seats
  • Managing turns, scores, and card or dice state
  • Implementing drag, toss, and snapping interactions
dpearson2699/swift-ios-skills12432026年8月1日 更新

spritekit

免费

Build 2D games and interactive animations with SpriteKit. Create scenes and sprites, animate objects, add physics and contact detection, generate particle effects, control a camera, and embed a scene in SwiftUI with SpriteView.

中文简介正在准备中。当前显示英语简介。

  • Creating a 2D game scene with sprites
  • Animating characters or objects with actions
  • Adding collisions and contact detection
dpearson2699/swift-ios-skills12432026年8月1日 更新

swiftlint

免费

Set up SwiftLint to check Swift code style in projects, tune rules, manage suppressions, and establish baselines for existing violations. Choose a build plugin, script, or CI workflow and get a practical path for enforcing new changes gradually.

中文简介正在准备中。当前显示英语简介。

  • Configuring SwiftLint rules for a project
  • Starting linting in a legacy codebase
  • Choosing a plugin or run script
dpearson2699/swift-ios-skills12432026年8月1日 更新

Plan SwiftUI navigation with NavigationStack, NavigationSplitView, sheets, tabs, and deep links. The guidance covers typed routes, independent navigation paths per tab, modal presentation, and validating incoming URLs before taking users to a destination.

中文简介正在准备中。当前显示英语简介。

  • Adding push navigation between screens
  • Building a sidebar and detail layout
  • Presenting sheets and organizing tabs
dpearson2699/swift-ios-skills12432026年8月1日 更新

Create and review SwiftUI motion for state changes, view insertion and removal, navigation, and multi-step sequences. Choose scoped animations, springs, transitions, keyframes, geometry effects, or SF Symbol effects, while accounting for Reduce Motion and concurrency concerns.

中文简介正在准备中。当前显示英语简介。

  • Animating a view when its state changes
  • Adding insertion and removal transitions
  • Building a multi-step animation sequence
dpearson2699/swift-ios-skills12432026年8月1日 更新

Build watchOS widget relevance with contextual signals such as time, location, fitness, sleep, and connected headphones. The skill covers relevance providers, combining and prioritizing signals, required permissions, and integration with WidgetKit so Smart Stack can surface suitable cards.

中文简介正在准备中。当前显示英语简介。

  • Showing an event widget near its scheduled time
  • Making a widget relevant near home or work
  • Combining time and location signals
dpearson2699/swift-ios-skills12432026年8月1日 更新

Create Swift models that encode and decode JSON or property lists with Codable. The skill helps map keys, handle nested or mixed data, configure dates and other decoding strategies, diagnose payload mismatches, and connect models to URLSession or supported persistence APIs.

中文简介正在准备中。当前显示英语简介。

  • Parsing an API response into Swift models
  • Mapping snake case keys and acronyms
  • Decoding nested JSON or mixed arrays
dpearson2699/swift-ios-skills12432026年8月1日 更新

Use this skill to diagnose Swift concurrency errors and make async code safer from data races. It helps apply actor isolation, Sendable rules, structured concurrency, background work, and Swift 6 strict-concurrency migration with minimal behavior changes.

中文简介正在准备中。当前显示英语简介。

  • Fixing Sendable errors and actor-isolation warnings
  • Moving expensive work off the main actor
  • Designing actor-based or task-group concurrency
dpearson2699/swift-ios-skills12432026年8月1日 更新

Use this skill to write or modernize core Swift code with current language features, including type-safe errors, protocol types, regex builders, and collection APIs. It helps preserve existing behavior while making code clearer and choosing appropriate syntax for common language tasks.

中文简介正在准备中。当前显示英语简介。

  • Modernizing Swift conditionals and switch logic
  • Choosing between some and any protocol types
  • Using typed throws and guard patterns
dpearson2699/swift-ios-skills12432026年8月1日 更新

tipkit

免费

Add and review contextual feature tips in Apple apps with TipKit. Get help defining tips, deciding when and where they appear, limiting their frequency, handling actions, testing display rules, and using newer grouping or CloudKit sync APIs with the required availability checks.

中文简介正在准备中。当前显示英语简介。

  • Adding a contextual hint beside a feature
  • Showing a popover tip after users meet a rule
  • Reviewing tip frequency and dismissal behavior
dpearson2699/swift-ios-skills12432026年8月1日 更新

Build or review SwiftUI screens with clear state ownership, small composable views, and useful previews for loading, empty, and error states. The skill also guides asynchronous loading, environment wiring, performance choices, and migration to current APIs.

中文简介正在准备中。当前显示英语简介。

  • Choosing @State, @Bindable, or @Environment for shared model state
  • Breaking a large SwiftUI screen into focused views
  • Creating previews for loading, empty, and error states
dpearson2699/swift-ios-skills12432026年8月1日 更新

Build and review SwiftUI interactions such as taps, long presses, drags, pinches, and rotations. Compose gestures, manage temporary gesture state, resolve parent and child conflicts, and replace deprecated magnification APIs with newer gesture types.

中文简介正在准备中。当前显示英语简介。

  • Adding drag or long-press interactions to a view
  • Combining pinch and rotation gestures
  • Resolving parent and child gesture conflicts
dpearson2699/swift-ios-skills12432026年8月1日 更新

Build and review networking in Swift apps with URLSession and async/await. Handle REST requests, uploads, downloads, streaming, pagination, retries, authentication middleware, caching, and network errors with patterns for foreground and background transfers.

中文简介正在准备中。当前显示英语简介。

  • Adding a REST API client to a Swift app
  • Handling uploads, downloads, or streaming
  • Reviewing retry and network error behavior
dpearson2699/swift-ios-skills12432026年8月1日 更新