Class SKAction

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject

    public class SKAction
    extends NSObject
    implements NSCopying, NSSecureCoding
    An SKAction object is an action that is executed by a node in the scene. Actions are most often used to change the structure and content of the node to which they are attached, but can also make other changes to the scene. When the scene processes its nodes, actions associated with those nodes are evaluated.
    • Constructor Detail

      • SKAction

        protected SKAction​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • actionNamed

        public static SKAction actionNamed​(java.lang.String name)
        Creates an action of the given name from an action file.
        Parameters:
        name - The name of the action
      • actionNamedDuration

        public static SKAction actionNamedDuration​(java.lang.String name,
                                                   double duration)
        Creates an action of the given name from an action file with a new duration.
        Parameters:
        name - The name of the action
        duration - The duration of the action
      • actionNamedFromURL

        public static SKAction actionNamedFromURL​(java.lang.String name,
                                                  NSURL url)
        Creates an action of the given name from an action file.
        Parameters:
        name - The name of the action
        url - The url of the file containing the action
      • actionNamedFromURLDuration

        public static SKAction actionNamedFromURLDuration​(java.lang.String name,
                                                          NSURL url,
                                                          double duration)
        Creates an action of the given name from an action file with a new duration.
        Parameters:
        name - The name of the action
        url - The url of the file containing the action
        duration - The duration of the action
      • alloc

        public static SKAction alloc()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • animateWithNormalTexturesTimePerFrame

        public static SKAction animateWithNormalTexturesTimePerFrame​(NSArray<? extends SKTexture> textures,
                                                                     double sec)
      • animateWithNormalTexturesTimePerFrameResizeRestore

        public static SKAction animateWithNormalTexturesTimePerFrameResizeRestore​(NSArray<? extends SKTexture> textures,
                                                                                  double sec,
                                                                                  boolean resize,
                                                                                  boolean restore)
      • animateWithTexturesTimePerFrame

        public static SKAction animateWithTexturesTimePerFrame​(NSArray<? extends SKTexture> textures,
                                                               double sec)
        Creates an action that animates changes to a sprite’s texture
        Parameters:
        textures - An array of textures to use when animating a sprite
        sec - The amount of time that each texture is displayed
      • animateWithTexturesTimePerFrameResizeRestore

        public static SKAction animateWithTexturesTimePerFrameResizeRestore​(NSArray<? extends SKTexture> textures,
                                                                            double sec,
                                                                            boolean resize,
                                                                            boolean restore)
        Creates an action that animates changes to a sprite’s texture
        Parameters:
        textures - An array of textures to use when animating a sprite
        sec - The amount of time that each texture is displayed
        resize - If YES, the sprite is resized to match each new texture. If NO, the size of the sprite remains at a constant size.
        restore - If YES, When the action completes, the sprite’s texture is restored to the texture it had before the action completed. (If the resize parameter is YES, the sprite is resized to match the size of the original texture. If NO, when the action completes the sprite’s texture remains set to the final texture in the array.
      • animateWithWarpsTimes

        public static SKAction animateWithWarpsTimes​(NSArray<? extends SKWarpGeometry> warps,
                                                     NSArray<? extends NSNumber> times)
        Animate through an array of warps The numberOfColumns and numberOfRows must match for all warps. Times are specified in seconds and must be increasing values.
      • animateWithWarpsTimesRestore

        public static SKAction animateWithWarpsTimesRestore​(NSArray<? extends SKWarpGeometry> warps,
                                                            NSArray<? extends NSNumber> times,
                                                            boolean restore)
        Animate through an array of warps The numberOfColumns and numberOfRows must match for all warps. Times are specified in seconds and must be increasing values. Optionally restore the original node's warpGeometry from before the action.
      • applyAngularImpulseDuration

        public static SKAction applyAngularImpulseDuration​(double impulse,
                                                           double duration)
      • applyForceAtPointDuration

        public static SKAction applyForceAtPointDuration​(CGVector force,
                                                         CGPoint point,
                                                         double duration)
      • applyForceDuration

        public static SKAction applyForceDuration​(CGVector force,
                                                  double duration)
      • applyImpulseAtPointDuration

        public static SKAction applyImpulseAtPointDuration​(CGVector impulse,
                                                           CGPoint point,
                                                           double duration)
      • applyImpulseDuration

        public static SKAction applyImpulseDuration​(CGVector impulse,
                                                    double duration)
      • applyTorqueDuration

        public static SKAction applyTorqueDuration​(double torque,
                                                   double duration)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • changeChargeByDuration

        public static SKAction changeChargeByDuration​(float v,
                                                      double duration)
      • changeChargeToDuration

        public static SKAction changeChargeToDuration​(float v,
                                                      double duration)
      • changeMassByDuration

        public static SKAction changeMassByDuration​(float v,
                                                    double duration)
      • changeMassToDuration

        public static SKAction changeMassToDuration​(float v,
                                                    double duration)
      • changeObstructionByDuration

        public static SKAction changeObstructionByDuration​(float v,
                                                           double duration)
      • changeObstructionToDuration

        public static SKAction changeObstructionToDuration​(float v,
                                                           double duration)
      • changeOcclusionByDuration

        public static SKAction changeOcclusionByDuration​(float v,
                                                         double duration)
      • changeOcclusionToDuration

        public static SKAction changeOcclusionToDuration​(float v,
                                                         double duration)
      • changePlaybackRateByDuration

        public static SKAction changePlaybackRateByDuration​(float v,
                                                            double duration)
      • changePlaybackRateToDuration

        public static SKAction changePlaybackRateToDuration​(float v,
                                                            double duration)
      • changeReverbByDuration

        public static SKAction changeReverbByDuration​(float v,
                                                      double duration)
      • changeReverbToDuration

        public static SKAction changeReverbToDuration​(float v,
                                                      double duration)
      • changeVolumeByDuration

        public static SKAction changeVolumeByDuration​(float v,
                                                      double duration)
      • changeVolumeToDuration

        public static SKAction changeVolumeToDuration​(float v,
                                                      double duration)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • colorizeWithColorColorBlendFactorDuration

        public static SKAction colorizeWithColorColorBlendFactorDuration​(UIColor color,
                                                                         double colorBlendFactor,
                                                                         double duration)
        Creates an animation that animates a sprite’s color and blend factor
        Parameters:
        color - The new color for the sprite
        colorBlendFactor - The new blend factor for the sprite
        duration - The duration of the animation, in seconds
      • colorizeWithColorBlendFactorDuration

        public static SKAction colorizeWithColorBlendFactorDuration​(double colorBlendFactor,
                                                                    double sec)
      • customActionWithDurationActionBlock

        public static SKAction customActionWithDurationActionBlock​(double duration,
                                                                   SKAction.Block_customActionWithDurationActionBlock block)
        Creates an action that executes a block over a duration
        Parameters:
        duration - The duration of the animation, in seconds
        block - The block to run. The block takes the following parameters: node The node on which the action is running. elapsedTime The amount of time that has passed in the animation.
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • fadeAlphaByDuration

        public static SKAction fadeAlphaByDuration​(double factor,
                                                   double duration)
        Creates an action that adjusts the alpha value of a node by a relative value
        Parameters:
        factor - The amount to modify the node’s alpha value
        duration - The duration of the animation, in seconds
      • fadeAlphaToDuration

        public static SKAction fadeAlphaToDuration​(double alpha,
                                                   double duration)
        Creates an action that adjusts the alpha value of a node to a new value
        Parameters:
        alpha - The new value of the node’s alpha
        duration - The duration of the animation, in seconds
      • fadeInWithDuration

        public static SKAction fadeInWithDuration​(double duration)
        Creates an action that changes the alpha value of the node to 1.0
        Parameters:
        duration - The duration of the animation, in seconds
      • fadeOutWithDuration

        public static SKAction fadeOutWithDuration​(double duration)
        Creates an action that changes the alpha value of the node to 0.0
        Parameters:
        duration - The duration of the animation, in seconds
      • falloffByDuration

        public static SKAction falloffByDuration​(float falloff,
                                                 double duration)
        Creates an action that sets the falloff of a field
        Parameters:
        falloff - The value to modify falloff by
        duration - The duration of the animation, in seconds
        See Also:
        SKFieldNode
      • falloffToDuration

        public static SKAction falloffToDuration​(float falloff,
                                                 double duration)
        Creates an action that sets the falloff of a field
        Parameters:
        falloff - The new value for falloff
        duration - The duration of the animation, in seconds
        See Also:
        SKFieldNode
      • followPathAsOffsetOrientToPathDuration

        public static SKAction followPathAsOffsetOrientToPathDuration​(CGPathRef path,
                                                                      boolean offset,
                                                                      boolean orient,
                                                                      double duration)
        Creates an action that moves the node along a path
        Parameters:
        path - A Core Graphics path whose coordinates are relative to the node’s current position
        offset - If YES, the points in the path are relative offsets to the node’s starting position. If NO, the points in the node are absolute coordinate values.
        orient - If YES, the node’s zRotation property animates so that the node turns to follow the path. If NO, the zRotation property of the node is unchanged.
        duration - The duration of the animation
      • followPathAsOffsetOrientToPathSpeed

        public static SKAction followPathAsOffsetOrientToPathSpeed​(CGPathRef path,
                                                                   boolean offset,
                                                                   boolean orient,
                                                                   double speed)
      • followPathDuration

        public static SKAction followPathDuration​(CGPathRef path,
                                                  double duration)
        Creates an action that moves the node along a relative path, orienting the node to the path
        Parameters:
        path - A Core Graphics path whose coordinates are relative to the node’s current position
        duration - The duration of the animation, in seconds
      • followPathSpeed

        public static SKAction followPathSpeed​(CGPathRef path,
                                               double speed)
        Creates an action that moves the node along a relative path, orienting the node to the path
        Parameters:
        path - A Core Graphics path whose coordinates are relative to the node’s current position
        speed - The speed in pixels per second to move along the path
      • group

        public static SKAction group​(NSArray<? extends SKAction> actions)
        Creates an action that runs a collection of actions concurrently When the action executes, the actions that comprise the group all start immediately and run in parallel. The duration of the group action is the longest duration among the collection of actions. If an action in the group has a duration less than the group’s duration, the action completes, then idles until the group completes the remaining actions. This matters most when creating a repeating action that repeats a group.
        Parameters:
        actions - An array of SKAction objects
      • hash_static

        public static long hash_static()
      • hide

        public static SKAction hide()
        Creates an action that hides a node
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • moveByDuration

        public static SKAction moveByDuration​(CGVector delta,
                                              double duration)
        Creates an action that moves a node relative to its current position
        Parameters:
        delta - A vector that describes the change to apply to the node’s position
        duration - The duration of the animation, in seconds
      • moveByXYDuration

        public static SKAction moveByXYDuration​(double deltaX,
                                                double deltaY,
                                                double duration)
      • moveToDuration

        public static SKAction moveToDuration​(CGPoint location,
                                              double duration)
        Creates an action that moves a node to a new position
        Parameters:
        location - The coordinates for the node’s new position
        duration - The duration of the animation, in seconds
      • moveToXDuration

        public static SKAction moveToXDuration​(double x,
                                               double duration)
      • moveToYDuration

        public static SKAction moveToYDuration​(double y,
                                               double duration)
      • new_objc

        public static java.lang.Object new_objc()
      • pause

        public static SKAction pause()
      • performSelectorOnTarget

        public static SKAction performSelectorOnTarget​(org.moe.natj.objc.SEL selector,
                                                       java.lang.Object target)
        Creates an action that calls a method on an object
        Parameters:
        selector - The selector of the method to call
        target - The target object
      • playSoundFileNamedWaitForCompletion

        public static SKAction playSoundFileNamedWaitForCompletion​(java.lang.String soundFile,
                                                                   boolean wait_)
        Creates an action that plays a sound The file name must be the name or path of a file of a platform supported audio file format. Use a LinearPCM format audio file with 8 or 16 bits per channel for best performance
        Parameters:
        soundFile - The name of a sound file in the app’s bundle
        wait - If YES, then the duration of this action is the same as the length of the audio playback. If NO, the action is considered to have completed immediately.
      • reachToRootNodeDuration

        public static SKAction reachToRootNodeDuration​(CGPoint position,
                                                       SKNode root,
                                                       double duration)
        Creates an action that performs an inverse kinematic reach. This action must be run on a descendent of the rootNode for animation to occur. Running this action on the rootNode itself will not cause any animation to occur.
        Parameters:
        position - The position (in screen space) to reach for
        root - Where to start the inverse kinematic operation from
        duration - The duration of the animation, in seconds
      • reachToRootNodeVelocity

        public static SKAction reachToRootNodeVelocity​(CGPoint position,
                                                       SKNode root,
                                                       double velocity)
        Creates an action that performs an inverse kinematic reach. This action must be run on a descendent of the rootNode for animation to occur. Running this action on the rootNode itself will not cause any animation to occur.
        Parameters:
        position - The position (in screen space) to reach for
        root - Where to start the inverse kinematic operation from
        velocity - The speed in points per second of the end node in the chain
      • reachToNodeRootNodeDuration

        public static SKAction reachToNodeRootNodeDuration​(SKNode node,
                                                           SKNode root,
                                                           double sec)
        Creates an action that performs an inverse kinematic reach. This action must be run on a descendent of the rootNode for animation to occur. Running this action on the rootNode itself will not cause any animation to occur.
        Parameters:
        node - The node to reach for
        root - Where to start the inverse kinematic operation from
        sec - The duration of the animation, in seconds
      • reachToNodeRootNodeVelocity

        public static SKAction reachToNodeRootNodeVelocity​(SKNode node,
                                                           SKNode root,
                                                           double velocity)
        Creates an action that performs an inverse kinematic reach. This action must be run on a descendent of the rootNode for animation to occur. Running this action on the rootNode itself will not cause any animation to occur.
        Parameters:
        node - The node to reach for
        root - Where to start the inverse kinematic operation from
        velocity - The speed in points per second of the end node in the chain
      • removeFromParent

        public static SKAction removeFromParent()
        Creates an action that removes the node from its parent
      • repeatActionCount

        public static SKAction repeatActionCount​(SKAction action,
                                                 long count)
        Creates an action that repeats another action a specified number of times
        Parameters:
        action - The action to execute
        count - The number of times to execute the action
      • repeatActionForever

        public static SKAction repeatActionForever​(SKAction action)
        Creates an action that repeats forever
        Parameters:
        action - The action to execute
      • resizeByWidthHeightDuration

        public static SKAction resizeByWidthHeightDuration​(double width,
                                                           double height,
                                                           double duration)
        Creates an action that adjusts the size of a sprite
        Parameters:
        width - The amount to add to the sprite’s width
        height - The amount to add to the sprite’s height
        duration - The duration of the animation, in seconds
      • resizeToHeightDuration

        public static SKAction resizeToHeightDuration​(double height,
                                                      double duration)
      • resizeToWidthDuration

        public static SKAction resizeToWidthDuration​(double width,
                                                     double duration)
      • resizeToWidthHeightDuration

        public static SKAction resizeToWidthHeightDuration​(double width,
                                                           double height,
                                                           double duration)
        Creates an action that changes the width and height of a sprite to a new absolute value
        Parameters:
        width - The new width of the sprite
        height - The new height of the sprite
        duration - The duration of the animation, in seconds
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • rotateByAngleDuration

        public static SKAction rotateByAngleDuration​(double radians,
                                                     double duration)
        Creates an action that rotates the node by a relative value
        Parameters:
        radians - The amount to rotate the node, in radians
        duration - The duration of the animation, in seconds
      • rotateToAngleDuration

        public static SKAction rotateToAngleDuration​(double radians,
                                                     double duration)
        Creates an action that rotates the node counterclockwise to an absolute angle
        Parameters:
        radians - The angle to rotate the node to, in radians
        duration - The duration of the animation
      • rotateToAngleDurationShortestUnitArc

        public static SKAction rotateToAngleDurationShortestUnitArc​(double radians,
                                                                    double duration,
                                                                    boolean shortestUnitArc)
        Creates an action that rotates the node to an absolute value
        Parameters:
        radians - The angle to rotate the node to, in radians
        duration - The duration of the animation, in seconds
        shortestUnitArc - If YES, then the rotation is performed in whichever direction results in the smallest rotation. If NO, then the rotation is interpolated
      • runActionOnChildWithName

        public static SKAction runActionOnChildWithName​(SKAction action,
                                                        java.lang.String name)
        Creates an action that runs an action on a named child object
        Parameters:
        action - the action to run
        name - the name of a child object
        See Also:
        SKNode.name
      • runBlock

        public static SKAction runBlock​(SKAction.Block_runBlock block)
        Creates an action that executes a block
        Parameters:
        block - The block to run
      • runBlockQueue

        public static SKAction runBlockQueue​(SKAction.Block_runBlockQueue block,
                                             NSObject queue)
        Creates an action that executes a block
        Parameters:
        block - The block to run
        queue - The queue to perform the action on
      • scaleByDuration

        public static SKAction scaleByDuration​(double scale,
                                               double duration)
        Creates an action that changes the x and y scale values of a node by a relative value
        Parameters:
        scale - The amount to modify to the node’s x and y scale values
        duration - The duration of the animation, in seconds
      • scaleToDuration

        public static SKAction scaleToDuration​(double scale,
                                               double duration)
        Creates an action that changes the x and y scale values of a node by a relative value
        Parameters:
        scale - The new value for the node’s x and y scale values
        duration - The duration of the animation, in seconds
      • scaleToSizeDuration

        public static SKAction scaleToSizeDuration​(CGSize size,
                                                   double duration)
        Adjust the sprite's xScale & yScale to achieve the desired size (in parent's coordinate space)
        Parameters:
        duration - The duration of the animation, in seconds
      • scaleXByYDuration

        public static SKAction scaleXByYDuration​(double xScale,
                                                 double yScale,
                                                 double duration)
      • scaleXToDuration

        public static SKAction scaleXToDuration​(double scale,
                                                double duration)
      • scaleXToYDuration

        public static SKAction scaleXToYDuration​(double xScale,
                                                 double yScale,
                                                 double duration)
      • scaleYToDuration

        public static SKAction scaleYToDuration​(double scale,
                                                double duration)
      • sequence

        public static SKAction sequence​(NSArray<? extends SKAction> actions)
        Creates an action that runs a collection of actions sequentially When the action executes, the first action in the sequence starts and runs to completion. Subsequent actions in the sequence run in a similar fashion until all of the actions in the sequence have executed. The duration of the sequence action is the sum of the durations of the actions in the sequence. This action is reversible; it creates a new sequence action that reverses the order of the actions. Each action in the reversed sequence is itself reversed. For example, if an action sequence is {1,2,3}, the reversed sequence would be {3R,2R,1R}.
        Parameters:
        actions - An array of SKAction objects
      • setNormalTextureResize

        public static SKAction setNormalTextureResize​(SKTexture texture,
                                                      boolean resize)
      • setTexture

        public static SKAction setTexture​(SKTexture texture)
        Creates an action that changes a sprite’s texture
        Parameters:
        texture - The new texture to use on the sprite
      • setTextureResize

        public static SKAction setTextureResize​(SKTexture texture,
                                                boolean resize)
        Creates an action that changes a sprite’s texture, possibly resizing the sprite
        Parameters:
        texture - The new texture to use on the sprite
        resize - If YES, the sprite is resized to match the new texture. If NO, the size of the sprite is unchanged.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • speedByDuration

        public static SKAction speedByDuration​(double speed,
                                               double duration)
        Creates an action that changes how fast the node executes actions by a relative value
        Parameters:
        speed - amount to modify the speed by
        duration - The duration of the animation, in seconds
      • speedToDuration

        public static SKAction speedToDuration​(double speed,
                                               double duration)
        Creates an action that changes how fast the node executes actions
        Parameters:
        speed - The new value for the node’s speed
        duration - The duration of the animation, in seconds
      • stereoPanByDuration

        public static SKAction stereoPanByDuration​(float v,
                                                   double duration)
      • stereoPanToDuration

        public static SKAction stereoPanToDuration​(float v,
                                                   double duration)
      • strengthByDuration

        public static SKAction strengthByDuration​(float strength,
                                                  double duration)
        Creates an action that sets the strength of a field
        Parameters:
        strength - The value to modify strength by
        duration - The duration of the animation, in seconds
        See Also:
        SKFieldNode
      • strengthToDuration

        public static SKAction strengthToDuration​(float strength,
                                                  double duration)
        Creates an action that sets the strength of a field
        Parameters:
        strength - The new value for strength
        duration - The duration of the animation, in seconds
        See Also:
        SKFieldNode
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • unhide

        public static SKAction unhide()
        Creates an action that unhides a node
      • version_static

        public static long version_static()
      • waitForDuration

        public static SKAction waitForDuration​(double duration)
        Creates an action that idles for a specified period of time
        Parameters:
        duration - The duration of the idle, in seconds
      • waitForDurationWithRange

        public static SKAction waitForDurationWithRange​(double duration,
                                                        double durationRange)
        Creates an action that idles for a randomized period of time
        Parameters:
        duration - The duration of the idle, in seconds
        durationRange - The range of possible values for the duration
      • warpToDuration

        public static SKAction warpToDuration​(SKWarpGeometry warp,
                                              double duration)
        Animate from the node's current warpGeometry to a new one over the specified duration. If the numberOfColumns and numberOfRows match, a smooth interpolation will be performed from the node current warp.
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • duration

        public double duration()
        The duration required to complete an action, in seconds.
      • reversedAction

        public SKAction reversedAction()
        Creates an action that reverses the behavior of another action
        Returns:
        This method always returns an action object; however, not all actions are reversible
      • setDuration

        public void setDuration​(double value)
        The duration required to complete an action, in seconds.
      • setSpeed

        public void setSpeed​(double value)
        A speed factor that modifies how fast an action runs. Default value is 1.0
      • setTimingFunction

        public void setTimingFunction​(SKAction.Block_setTimingFunction value)
        When set, prodives a custom timing via a block. Applies after the 'timingMode' property is taken into account, defaults to nil
        See Also:
        SKActionTimingFunction
      • setTimingMode

        public void setTimingMode​(long value)
        The timing mode used to execute an action
        See Also:
        SKActionTimingMode
      • speed

        public double speed()
        A speed factor that modifies how fast an action runs. Default value is 1.0
      • timingFunction

        public SKAction.Block_timingFunction_ret timingFunction()
        When set, prodives a custom timing via a block. Applies after the 'timingMode' property is taken into account, defaults to nil
        See Also:
        SKActionTimingFunction
      • timingMode

        public long timingMode()
        The timing mode used to execute an action
        See Also:
        SKActionTimingMode
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding