- Created SkeletonDrawable class wrapping spine_skeleton_drawable C functions - Implemented AnimationStateEventManager singleton for event listener management - Added helper types: Bounds and Vector structs - Added extensions for Skeleton (bounds, getPosition) - Added extensions for Skin (getEntries to iterate attachments) - Added extensions for BonePose (coordinate transformations) - Added extensions for AnimationState and TrackEntry (event listeners) - Created skeleton_drawable_test_swift.swift using SpineSwift high-level API - Updated test Package.swift to include SpineSwift dependency - SpineSwift module now compiles with 0 errors This completes the port of the high-level API from spine-flutter's spine_dart.dart to SpineSwift, providing a clean Swift API that mirrors the Dart implementation.
spine-ios
The spine-ios runtime provides functionality to load, manipulate and render Spine skeletal animation data for iOS using Swift or Objective-C.
See the spine-ios documentation for more information.
Licensing
You are welcome to evaluate the Spine Runtimes and the examples we provide in this repository free of charge.
You can integrate the Spine Runtimes into your software free of charge, but users of your software must have their own Spine license. Please make your users aware of this requirement! This option is often chosen by those making development tools, such as an SDK, game toolkit, or software library.
In order to distribute your software containing the Spine Runtimes to others that don't have a Spine license, you need a Spine license at the time of integration. Then you can distribute your software containing the Spine Runtimes however you like, provided others don't modify it or use it to create new software. If others want to do that, they'll need their own Spine license.
For the official legal terms governing the Spine Runtimes, please read the Spine Runtimes License Agreement and Section 2 of the Spine Editor License Agreement.
Spine version
spine-ios works with data exported from Spine 4.2.xx.
spine-ios supports all Spine features except two-color tinting.