mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
- Remove AnimationStateWrapper (no longer needed with new SpineSwift API) - Replace Spine.Generated+Extensions.swift with simplified SpineSwiftExtensions.swift - Update SpineiOS to use SpineSwift API instead of direct SpineC calls - Fix namespace conflicts (ContentMode → SpineContentMode, Alignment → SpineAlignment) - Update texture mapping to use atlas page index from RenderCommand pointer - Fix all Example app API calls to match new SpineSwift generated API: - setAnimationByName → setAnimation - addAnimationByName → addAnimation - slot.color → slot.appliedPose.color.set() - EventType enum cases instead of constants - Physics enum with qualified name to avoid conflicts - setSkin2() instead of property assignment - Array iteration using indices instead of for-in - bone.worldX → bone.appliedPose.worldX - Update Objective-C imports from Spine to SpineiOS module Note: SimpleAnimationViewController.m still needs updates for full ObjC compatibility