Skip to content

[ios] add AppKit (macOS) support#3089

Draft
unstabler wants to merge 5 commits into
EsotericSoftware:4.3from
team-unstablers:macos-support
Draft

[ios] add AppKit (macOS) support#3089
unstabler wants to merge 5 commits into
EsotericSoftware:4.3from
team-unstablers:macos-support

Conversation

@unstabler

@unstabler unstabler commented May 21, 2026

Copy link
Copy Markdown
이미지 2026  5  22  02 09

An example of a macOS live wallpaper using SpineiOS (illustrated by @hoonkun)

DESCRIPTION

  • added support for AppKit-based platforms (like macOS)
    • added platform-guarded typealiases / type mappings for UIKit-related types
// pseudo code
+ #if macOS
+ typealias SpineUIImage = NSImage
+ #endif
 
+ #if iOS
+ typealias SpineUIImage = UIImage
+ #endif

- func someSpineFunction(which requires: UIImage)
+ func someSpineFunction(which requires: SpineUIImage)

CLA AGREEMENT

  • I confirm this contribution is made under the Esoteric Software LLC CLA.

조금만 자고 할게요

한국 시간으로 02:11 AM이기 때문에 CLA 동의는 자고 일어나서 하겠습니다

I'll do this after getting some sleep.

It's currently 2:11 AM KST (Korean Standard Time) here, so I will agree to the CLA once I wake up.

AUTHORS

  • @hoonkun - Gohoon Han (team unstablers Inc.)
  • @unstabler - Gyuhwan Park (team unstablers Inc.)

unstabler and others added 5 commits May 22, 2026 01:33
Co-authored-by: hoonkun <herokun.user@gmail.com>

add `SpineUIImage`, `SpineUIColor`, `SpineUIScreen` typealiases (type mappings) to support AppKit-based platforms (macOS).
Co-authored-by: hoonkun <herokun.user@gmail.com>
Co-authored-by: hoonkun <herokun.user@gmail.com>
Co-authored-by: hoonkun <herokun.user@gmail.com>
…nstruction

Co-authored-by: Gyuhwan Park <unstabler@unstabler.pl>
@unstabler

Copy link
Copy Markdown
Author

NOTE

  • POSSIBLE BREAKING CHANGE: The minimum macOS requirement had to be increased to 12.0 because of the pre-existing NSURLSession.download() call in SpineiOS. I plan to implement version fallbacks before removing the draft status.
    SpineiOS에 원래부터 있었던 NSURLSession.download() call 때문에 최소 요구 macOS 버전을 12.0으로 상향할 수 밖에 없었습니다. 이건 draft 떼기 전까지 버전 분기를 넣도록 하겠습니다

badlogic added a commit that referenced this pull request Jul 16, 2026
Add native AppKit rendering and example support to spine-ios.
Honor per-page atlas texture filtering, mipmap, and wrap settings,
with nearest and linear per-view overrides.

Incorporates PR #3089.
Incorporates PR #3137.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants