Skip to content

add macOS native support#115

Open
lightsummer233 wants to merge 1 commit intoCalvin-LL:mainfrom
lightsummer233:main
Open

add macOS native support#115
lightsummer233 wants to merge 1 commit intoCalvin-LL:mainfrom
lightsummer233:main

Conversation

@lightsummer233
Copy link

No description provided.

Copilot AI review requested due to automatic review settings February 15, 2026 15:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds native macOS support to the Reorderable library and its demo application, enabling the project to run as a native macOS application alongside existing iOS targets. The implementation follows established multiplatform patterns in the codebase.

Changes:

  • Added macOS targets (macosX64 and macosArm64) to both the library and demo app build configurations
  • Created platform-specific macOS implementations for haptics (no-op) and application entry point
  • Enabled experimental macOS support flag in Gradle properties

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
reorderable/build.gradle.kts Added macosX64 and macosArm64 targets to the library's framework binaries configuration
gradle.properties Enabled experimental macOS support with the org.jetbrains.compose.experimental.macos.enabled flag
demoApp/composeApp/src/macosMain/kotlin/sh/calvin/reorderable/demo/haptics.macos.kt Implemented platform-specific haptics support with no-op behavior (consistent with JVM desktop)
demoApp/composeApp/src/macosMain/kotlin/main.kt Created native macOS entry point using NSApplication APIs with proper window lifecycle management
demoApp/composeApp/build.gradle.kts Added macOS targets with executable binaries and configured native application distribution as DMG

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Calvin-LL
Copy link
Owner

love it thank you! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants