SKAnimationSettings Class Reference

Inherits from NSObject
Declared in SKAnimationSettings.h

Overview

Stores information about the annotation’s animation settings.

  animationType

Represents the animation type.

@property (nonatomic, assign) SKAnimationType animationType

Discussion

Represents the animation type.

Declared In

SKAnimationSettings.h

  animationEasingType

Represents the animation easing type.

@property (nonatomic, assign) SKAnimationEasingType animationEasingType

Discussion

Represents the animation easing type.

Declared In

SKAnimationSettings.h

  duration

The animation duration measured in milliseconds.

@property (nonatomic, assign) NSInteger duration

Discussion

The animation duration measured in milliseconds.

Declared In

SKAnimationSettings.h

+ defaultAnimationSettings

A newly initialized SKAnimationSettings. Default values are: SKAnimationPinDrop for animationType, SKAnimationEaseLinear for animationEasingType, 300 milliseconds for duration

+ (instancetype)defaultAnimationSettings

Discussion

A newly initialized SKAnimationSettings. Default values are: SKAnimationPinDrop for animationType, SKAnimationEaseLinear for animationEasingType, 300 milliseconds for duration

Declared In

SKAnimationSettings.h

+ animationSettings

Creates a newly initialized SKAnimationSettings. Default values are: SKAnimationNone for animationType, SKAnimationEaseLinear for animationEasingType, 0 for duration

+ (instancetype)animationSettings

Discussion

Creates a newly initialized SKAnimationSettings. Default values are: SKAnimationNone for animationType, SKAnimationEaseLinear for animationEasingType, 0 for duration

Declared In

SKAnimationSettings.h