MMNodeActions is an iOS SKAction/SCNAction library extension which allows you to run sequential actions on multiple nodes directly on target SKNodes/SCNNodes.
MMNodeActions works on iOS10+ and requires ARC to build.
It depends on the following Apple frameworks :
- Foundation.framework
- SpriteKit.framework
CocoaPods is the recommended way to add MMNodeActions to your project.
- Add a pod entry for MMNodeActions to your Podfile
pod 'MMNodeActions', '~> 1.0.0' - Install the pod(s) by running
pod install. - Include MMNodeActions wherever you need it with
#import "MMNodeActions.h".
- Add MMNodeActions to your Cartfile. e.g.,
github "michael-martinez/MMNodeActions" ~> 1.0.0 - Run
carthage update - Follow the rest of the standard Carthage installation instructions to add MMNodeActions to your project.
Alternatively you can directly add the MMNodeActions.h and SKNode+NodeActionsExtensions.swift source files to your project.
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Open your project in Xcode, then drag and drop
MMNodeActions.handSKNode+NodeActionsExtensions.swiftonto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. - Include MMNodeActions wherever you need it with
#import "MMNodeActions.h".
This code is distributed under the terms and conditions of the MIT license.
A brief summary of each MMNodeActions release can be found in the CHANGELOG.