symbols

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package symbols provides Go bindings for the Symbols framework.

Apply universal animations to symbol-based images.

The Symbols framework provides access to symbol effects you can use to animate [SF Symbols](<https://developer.apple.com/design/human-interface-guidelines/sf-symbols>) in your AppKit, UIKit, and SwiftUI apps. These animations exhibit different behaviors:

Symbol effects

  • appear: An animation that makes the layers of a symbol-based image appear separately or as a whole.
  • bounce: An animation that applies a transitory scaling effect, or bounce, to the layers in a symbol-based image separately or as a whole.
  • disappear: An animation that makes the layers of a symbol-based image disappear separately or as a whole.
  • pulse: An animation that fades the opacity of some or all layers in a symbol-based image.
  • scale: An animation that scales the layers in a symbol-based image separately or as a whole.
  • variableColor: An animation that replaces the opacity of variable layers in a symbol-based image in a repeatable sequence.

Symbol content transitions

  • replace: An animation that replaces the layers of one symbol-based image with those of another.
  • automatic: A transition that applies the default animation to a symbol-based image in a context-sensitive manner.

Symbol effect types

  • AppearSymbolEffect: A type that makes the layers of a symbol-based image appear separately or as a whole.
  • AutomaticSymbolEffect: A type that applies the default animation to a symbol-based image in a context-sensitive manner.
  • BounceSymbolEffect: A type that applies a transitory scaling effect, or bounce, to the layers in a symbol-based image separately or as a whole.
  • DisappearSymbolEffect: A type that makes the layers of a symbol-based image disappear separately or as a whole.
  • PulseSymbolEffect: A type that fades the opacity of some or all layers in a symbol-based image.
  • ReplaceSymbolEffect: A type that replaces the layers of one symbol-based image with those of another.
  • ScaleSymbolEffect: A type that scales the layers in a symbol-based image separately or as a whole.
  • VariableColorSymbolEffect: A type that replaces the opacity of variable layers in a symbol-based image in a repeatable sequence.
  • BreatheSymbolEffect: A symbol effect that applies the Breathe animation to symbol images.
  • RotateSymbolEffect: A symbol effect that applies the Rotate animation to symbol images.
  • WiggleSymbolEffect: A symbol effect that applies the Wiggle animation to symbol images.

Symbol effect options

  • SymbolEffectOptions: Options that configure how effects apply to symbol-based images.

Symbol effect protocols

  • SymbolEffect: A presentation effect that you apply to a symbol-based image.
  • DiscreteSymbolEffect: An effect that performs a transient animation.
  • IndefiniteSymbolEffect: An animation that continually affects a symbol until it’s disabled or removed.
  • ContentTransitionSymbolEffect: An effect that animates between symbols or different configurations of the same symbol.
  • TransitionSymbolEffect: An effect that animates a symbol in or out.

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type INSSymbolAppearEffect

type INSSymbolAppearEffect interface {
	INSSymbolEffect

	// An effect that makes each layer appear separately.
	EffectWithByLayer() INSSymbolAppearEffect
	// An effect that makes all layers appear simultaneously.
	EffectWithWholeSymbol() INSSymbolAppearEffect
}

An interface definition for the NSSymbolAppearEffect class.

Determining effect scope

  • [INSSymbolAppearEffect.EffectWithByLayer]: An effect that makes each layer appear separately.
  • [INSSymbolAppearEffect.EffectWithWholeSymbol]: An effect that makes all layers appear simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolAppearEffect

type INSSymbolBounceEffect

type INSSymbolBounceEffect interface {
	INSSymbolEffect

	// An effect that bounces each layer separately.
	EffectWithByLayer() INSSymbolBounceEffect
	// An effect that bounces all layers simultaneously.
	EffectWithWholeSymbol() INSSymbolBounceEffect
}

An interface definition for the NSSymbolBounceEffect class.

Determining effect scope

  • [INSSymbolBounceEffect.EffectWithByLayer]: An effect that bounces each layer separately.
  • [INSSymbolBounceEffect.EffectWithWholeSymbol]: An effect that bounces all layers simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBounceEffect

type INSSymbolBreatheEffect

type INSSymbolBreatheEffect interface {
	INSSymbolEffect

	// Returns a copy of the effect that animates incrementally, by layer.
	EffectWithByLayer() INSSymbolBreatheEffect
	// Returns a copy of the effect that animates all layers of the symbol simultaneously.
	EffectWithWholeSymbol() INSSymbolBreatheEffect
}

An interface definition for the NSSymbolBreatheEffect class.

Instance Methods

  • [INSSymbolBreatheEffect.EffectWithByLayer]: Returns a copy of the effect that animates incrementally, by layer.
  • [INSSymbolBreatheEffect.EffectWithWholeSymbol]: Returns a copy of the effect that animates all layers of the symbol simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBreatheEffect

type INSSymbolContentTransition

type INSSymbolContentTransition interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the NSSymbolContentTransition class.

See: https://developer.apple.com/documentation/Symbols/NSSymbolContentTransition

type INSSymbolDisappearEffect

type INSSymbolDisappearEffect interface {
	INSSymbolEffect

	// An effect that makes each layer disappear separately.
	EffectWithByLayer() INSSymbolDisappearEffect
	// An effect that makes all layers disappear simultaneously.
	EffectWithWholeSymbol() INSSymbolDisappearEffect
}

An interface definition for the NSSymbolDisappearEffect class.

Determining effect scope

  • [INSSymbolDisappearEffect.EffectWithByLayer]: An effect that makes each layer disappear separately.
  • [INSSymbolDisappearEffect.EffectWithWholeSymbol]: An effect that makes all layers disappear simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDisappearEffect

type INSSymbolDrawOffEffect

type INSSymbolDrawOffEffect interface {
	INSSymbolEffect

	// Returns a copy of the effect requesting an animation that applies separately to each motion group.
	EffectWithByLayer() INSSymbolDrawOffEffect
	// Returns a copy of the effect requesting an animation that applies separately to each motion group, where only one motion group is active at a time.
	EffectWithIndividually() INSSymbolDrawOffEffect
	// Returns a copy of the effect that only animates forwards. This cancels the reversed variant.
	EffectWithNonReversed() INSSymbolDrawOffEffect
	// Returns a copy of the effect that animates in reverse. This cancels the nonReversed variant.
	EffectWithReversed() INSSymbolDrawOffEffect
	// Returns a copy of the effect requesting an animation that applies to all motion groups simultaneously.
	EffectWithWholeSymbol() INSSymbolDrawOffEffect
}

An interface definition for the NSSymbolDrawOffEffect class.

Instance Methods

  • [INSSymbolDrawOffEffect.EffectWithByLayer]: Returns a copy of the effect requesting an animation that applies separately to each motion group.
  • [INSSymbolDrawOffEffect.EffectWithIndividually]: Returns a copy of the effect requesting an animation that applies separately to each motion group, where only one motion group is active at a time.
  • [INSSymbolDrawOffEffect.EffectWithNonReversed]: Returns a copy of the effect that only animates forwards. This cancels the reversed variant.
  • [INSSymbolDrawOffEffect.EffectWithReversed]: Returns a copy of the effect that animates in reverse. This cancels the nonReversed variant.
  • [INSSymbolDrawOffEffect.EffectWithWholeSymbol]: Returns a copy of the effect requesting an animation that applies to all motion groups simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOffEffect

type INSSymbolDrawOnEffect

type INSSymbolDrawOnEffect interface {
	INSSymbolEffect

	// Returns a copy of the effect requesting an animation that applies separately to each motion group.
	EffectWithByLayer() INSSymbolDrawOnEffect
	// Returns a copy of the effect requesting an animation that applies separately to each motion group, where only one motion group is active at a time.
	EffectWithIndividually() INSSymbolDrawOnEffect
	// Returns a copy of the effect requesting an animation that applies to all motion groups simultaneously.
	EffectWithWholeSymbol() INSSymbolDrawOnEffect
}

An interface definition for the NSSymbolDrawOnEffect class.

Instance Methods

  • [INSSymbolDrawOnEffect.EffectWithByLayer]: Returns a copy of the effect requesting an animation that applies separately to each motion group.
  • [INSSymbolDrawOnEffect.EffectWithIndividually]: Returns a copy of the effect requesting an animation that applies separately to each motion group, where only one motion group is active at a time.
  • [INSSymbolDrawOnEffect.EffectWithWholeSymbol]: Returns a copy of the effect requesting an animation that applies to all motion groups simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOnEffect

type INSSymbolEffect

type INSSymbolEffect interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the NSSymbolEffect class.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffect

type INSSymbolEffectOptions

type INSSymbolEffectOptions interface {
	objectivec.IObject

	// A set of effect options that prefers to not repeat.
	OptionsWithNonRepeating() INSSymbolEffectOptions

	// Creates a set of effect options with a preferred speed multiplier.
	OptionsWithSpeedWithSpeed(speed float64) INSSymbolEffectOptions

	// Return a copy of the options setting a preferred repeat behavior.
	OptionsWithRepeatBehaviorWithBehavior(behavior INSSymbolEffectOptionsRepeatBehavior) INSSymbolEffectOptions

	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the NSSymbolEffectOptions class.

Configuring repeating effects

  • [INSSymbolEffectOptions.OptionsWithNonRepeating]: A set of effect options that prefers to not repeat.

Configuring effect speed

  • [INSSymbolEffectOptions.OptionsWithSpeedWithSpeed]: Creates a set of effect options with a preferred speed multiplier.

Instance Methods

  • [INSSymbolEffectOptions.OptionsWithRepeatBehaviorWithBehavior]: Return a copy of the options setting a preferred repeat behavior.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptions

type INSSymbolEffectOptionsRepeatBehavior

type INSSymbolEffectOptionsRepeatBehavior interface {
	objectivec.IObject

	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the NSSymbolEffectOptionsRepeatBehavior class.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptionsRepeatBehavior

type INSSymbolPulseEffect

type INSSymbolPulseEffect interface {
	INSSymbolEffect

	// A copy of the effect requesting an animation that pulses only the layers marked to always pulse.
	EffectWithByLayer() INSSymbolPulseEffect
	// A copy of the effect requesting an animation that pulses all layers simultaneously.
	EffectWithWholeSymbol() INSSymbolPulseEffect
}

An interface definition for the NSSymbolPulseEffect class.

Determining effect scope

  • [INSSymbolPulseEffect.EffectWithByLayer]: A copy of the effect requesting an animation that pulses only the layers marked to always pulse.
  • [INSSymbolPulseEffect.EffectWithWholeSymbol]: A copy of the effect requesting an animation that pulses all layers simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolPulseEffect

type INSSymbolReplaceContentTransition

type INSSymbolReplaceContentTransition interface {
	INSSymbolContentTransition

	// An effect that replaces each layer separately.
	TransitionWithByLayer() INSSymbolReplaceContentTransition
	// An effect that replaces all layers simultaneously.
	TransitionWithWholeSymbol() INSSymbolReplaceContentTransition
}

An interface definition for the NSSymbolReplaceContentTransition class.

Determining effect scope

  • [INSSymbolReplaceContentTransition.TransitionWithByLayer]: An effect that replaces each layer separately.
  • [INSSymbolReplaceContentTransition.TransitionWithWholeSymbol]: An effect that replaces all layers simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition

type INSSymbolRotateEffect

type INSSymbolRotateEffect interface {
	INSSymbolEffect

	// Returns a copy of the effect that animates incrementally, by layer.
	EffectWithByLayer() INSSymbolRotateEffect
	// Returns a copy of the effect that animates all layers of the symbol simultaneously.
	EffectWithWholeSymbol() INSSymbolRotateEffect
}

An interface definition for the NSSymbolRotateEffect class.

Instance Methods

  • [INSSymbolRotateEffect.EffectWithByLayer]: Returns a copy of the effect that animates incrementally, by layer.
  • [INSSymbolRotateEffect.EffectWithWholeSymbol]: Returns a copy of the effect that animates all layers of the symbol simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolRotateEffect

type INSSymbolScaleEffect

type INSSymbolScaleEffect interface {
	INSSymbolEffect

	// An effect that scales each layer separately.
	EffectWithByLayer() INSSymbolScaleEffect
	// An effect that scales all layers simultaneously.
	EffectWithWholeSymbol() INSSymbolScaleEffect
}

An interface definition for the NSSymbolScaleEffect class.

Determining effect scope

  • [INSSymbolScaleEffect.EffectWithByLayer]: An effect that scales each layer separately.
  • [INSSymbolScaleEffect.EffectWithWholeSymbol]: An effect that scales all layers simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolScaleEffect

type INSSymbolVariableColorEffect

type INSSymbolVariableColorEffect interface {
	INSSymbolEffect

	// An effect that enables each layer of a symbol-based image in sequence.
	EffectWithCumulative() INSSymbolVariableColorEffect
	// An effect that momentarily enables each layer of a symbol-based image in sequence.
	EffectWithIterative() INSSymbolVariableColorEffect

	// An effect that doesn’t reverse each time it repeats.
	EffectWithNonReversing() INSSymbolVariableColorEffect
	// An effect that reverses each time it repeats.
	EffectWithReversing() INSSymbolVariableColorEffect

	// An effect that dims inactive layers in a symbol-based image.
	EffectWithDimInactiveLayers() INSSymbolVariableColorEffect
	// An effect that hides inactive layers in a symbol-based image.
	EffectWithHideInactiveLayers() INSSymbolVariableColorEffect
}

An interface definition for the NSSymbolVariableColorEffect class.

Controlling fill style

  • [INSSymbolVariableColorEffect.EffectWithCumulative]: An effect that enables each layer of a symbol-based image in sequence.
  • [INSSymbolVariableColorEffect.EffectWithIterative]: An effect that momentarily enables each layer of a symbol-based image in sequence.

Changing playback style

  • [INSSymbolVariableColorEffect.EffectWithNonReversing]: An effect that doesn’t reverse each time it repeats.
  • [INSSymbolVariableColorEffect.EffectWithReversing]: An effect that reverses each time it repeats.

Affecting inactive layers

  • [INSSymbolVariableColorEffect.EffectWithDimInactiveLayers]: An effect that dims inactive layers in a symbol-based image.
  • [INSSymbolVariableColorEffect.EffectWithHideInactiveLayers]: An effect that hides inactive layers in a symbol-based image.

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect

type INSSymbolWiggleEffect

type INSSymbolWiggleEffect interface {
	INSSymbolEffect

	// Returns a copy of the effect that animates incrementally, by layer.
	EffectWithByLayer() INSSymbolWiggleEffect
	// Returns a copy of the effect that animates all layers of the symbol simultaneously.
	EffectWithWholeSymbol() INSSymbolWiggleEffect
}

An interface definition for the NSSymbolWiggleEffect class.

Instance Methods

  • [INSSymbolWiggleEffect.EffectWithByLayer]: Returns a copy of the effect that animates incrementally, by layer.
  • [INSSymbolWiggleEffect.EffectWithWholeSymbol]: Returns a copy of the effect that animates all layers of the symbol simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect

type NSSymbolAppearEffect

type NSSymbolAppearEffect struct {
	NSSymbolEffect
}

A type that makes the layers of a symbol-based image appear separately or as a whole.

Overview

An appear transition causes a symbol to become visible using a scaling animation. You can choose to scale the image up or down and to animate the symbol by individual layers or as a whole.

Determining effect scope

See: https://developer.apple.com/documentation/Symbols/NSSymbolAppearEffect

func NSSymbolAppearEffectFromID

func NSSymbolAppearEffectFromID(id objc.ID) NSSymbolAppearEffect

NSSymbolAppearEffectFromID constructs a NSSymbolAppearEffect from an objc.ID.

A type that makes the layers of a symbol-based image appear separately or as a whole.

func NewNSSymbolAppearEffect

func NewNSSymbolAppearEffect() NSSymbolAppearEffect

NewNSSymbolAppearEffect creates a new NSSymbolAppearEffect instance.

func (NSSymbolAppearEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolAppearEffect) EffectWithByLayer

func (s NSSymbolAppearEffect) EffectWithByLayer() INSSymbolAppearEffect

An effect that makes each layer appear separately.

Return Value

An effect that makes each layer appear separately.

See: https://developer.apple.com/documentation/Symbols/NSSymbolAppearEffect/effectWithByLayer

func (NSSymbolAppearEffect) EffectWithWholeSymbol

func (s NSSymbolAppearEffect) EffectWithWholeSymbol() INSSymbolAppearEffect

An effect that makes all layers appear simultaneously.

Return Value

A copy of the effect options that makes all layers appear simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolAppearEffect/effectWithWholeSymbol

func (NSSymbolAppearEffect) Init

Init initializes the instance.

type NSSymbolAppearEffectClass

type NSSymbolAppearEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolAppearEffectClass

func GetNSSymbolAppearEffectClass() NSSymbolAppearEffectClass

GetNSSymbolAppearEffectClass returns the class object for NSSymbolAppearEffect.

func (NSSymbolAppearEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolAppearEffectClass) AppearDownEffect

func (_NSSymbolAppearEffectClass NSSymbolAppearEffectClass) AppearDownEffect() NSSymbolAppearEffect

An effect that makes the symbol scale down as it appears.

Return Value

A new instance of the appear effect options that makes the symbol scale down as it appears.

See: https://developer.apple.com/documentation/Symbols/NSSymbolAppearEffect/appearDownEffect

func (NSSymbolAppearEffectClass) AppearUpEffect

func (_NSSymbolAppearEffectClass NSSymbolAppearEffectClass) AppearUpEffect() NSSymbolAppearEffect

An effect that makes the symbol scale up as it appears.

Return Value

A new instance of the appear effect options that makes the symbol scale up as it appears.

See: https://developer.apple.com/documentation/Symbols/NSSymbolAppearEffect/appearUpEffect

func (NSSymbolAppearEffectClass) Effect

func (_NSSymbolAppearEffectClass NSSymbolAppearEffectClass) Effect() NSSymbolAppearEffect

An animation that makes the layers of a symbol-based image appear separately or as a whole.

Return Value

A new instance of the appear effect options.

See: https://developer.apple.com/documentation/Symbols/NSSymbolAppearEffect/effect

type NSSymbolAutomaticContentTransition

type NSSymbolAutomaticContentTransition struct {
	NSSymbolContentTransition
}

A type that applies the default animation to a symbol-based image in a context-sensitive manner.

See: https://developer.apple.com/documentation/Symbols/NSSymbolAutomaticContentTransition

func NSSymbolAutomaticContentTransitionFromID

func NSSymbolAutomaticContentTransitionFromID(id objc.ID) NSSymbolAutomaticContentTransition

NSSymbolAutomaticContentTransitionFromID constructs a NSSymbolAutomaticContentTransition from an objc.ID.

A type that applies the default animation to a symbol-based image in a context-sensitive manner.

func NewNSSymbolAutomaticContentTransition

func NewNSSymbolAutomaticContentTransition() NSSymbolAutomaticContentTransition

NewNSSymbolAutomaticContentTransition creates a new NSSymbolAutomaticContentTransition instance.

func (NSSymbolAutomaticContentTransition) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolAutomaticContentTransition) Init

Init initializes the instance.

type NSSymbolAutomaticContentTransitionClass

type NSSymbolAutomaticContentTransitionClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolAutomaticContentTransitionClass

func GetNSSymbolAutomaticContentTransitionClass() NSSymbolAutomaticContentTransitionClass

GetNSSymbolAutomaticContentTransitionClass returns the class object for NSSymbolAutomaticContentTransition.

func (NSSymbolAutomaticContentTransitionClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolAutomaticContentTransitionClass) Transition

func (_NSSymbolAutomaticContentTransitionClass NSSymbolAutomaticContentTransitionClass) Transition() NSSymbolAutomaticContentTransition

A transition that applies the default animation to a symbol-based image in a context-sensitive manner.

Return Value

A new instance of the automatic transition.

See: https://developer.apple.com/documentation/Symbols/NSSymbolAutomaticContentTransition/transition

type NSSymbolBounceEffect

type NSSymbolBounceEffect struct {
	NSSymbolEffect
}

A type that applies a transitory scaling effect, or bounce, to the layers in a symbol-based image separately or as a whole.

Overview

A bounce animation draws attention to a symbol by applying a brief scaling operation to the symbol’s layers. You can choose to scale the symbol up or down as it bounces.

Determining effect scope

See: https://developer.apple.com/documentation/Symbols/NSSymbolBounceEffect

func NSSymbolBounceEffectFromID

func NSSymbolBounceEffectFromID(id objc.ID) NSSymbolBounceEffect

NSSymbolBounceEffectFromID constructs a NSSymbolBounceEffect from an objc.ID.

A type that applies a transitory scaling effect, or bounce, to the layers in a symbol-based image separately or as a whole.

func NewNSSymbolBounceEffect

func NewNSSymbolBounceEffect() NSSymbolBounceEffect

NewNSSymbolBounceEffect creates a new NSSymbolBounceEffect instance.

func (NSSymbolBounceEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolBounceEffect) EffectWithByLayer

func (s NSSymbolBounceEffect) EffectWithByLayer() INSSymbolBounceEffect

An effect that bounces each layer separately.

Return Value

A copy of the effect options that bounces each layer separately.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBounceEffect/effectWithByLayer

func (NSSymbolBounceEffect) EffectWithWholeSymbol

func (s NSSymbolBounceEffect) EffectWithWholeSymbol() INSSymbolBounceEffect

An effect that bounces all layers simultaneously.

Return Value

A copy of the effect options that bounces all layers simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBounceEffect/effectWithWholeSymbol

func (NSSymbolBounceEffect) Init

Init initializes the instance.

type NSSymbolBounceEffectClass

type NSSymbolBounceEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolBounceEffectClass

func GetNSSymbolBounceEffectClass() NSSymbolBounceEffectClass

GetNSSymbolBounceEffectClass returns the class object for NSSymbolBounceEffect.

func (NSSymbolBounceEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolBounceEffectClass) BounceDownEffect

func (_NSSymbolBounceEffectClass NSSymbolBounceEffectClass) BounceDownEffect() NSSymbolBounceEffect

An effect that bounces the symbol downward.

Return Value

A new instance of the bounce effect options that bounces the symbol downward.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBounceEffect/bounceDownEffect

func (NSSymbolBounceEffectClass) BounceUpEffect

func (_NSSymbolBounceEffectClass NSSymbolBounceEffectClass) BounceUpEffect() NSSymbolBounceEffect

An effect that bounces the symbol upward.

Return Value

A new instance of the bounce effect options that bounces the symbol upward.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBounceEffect/bounceUpEffect

func (NSSymbolBounceEffectClass) Effect

func (_NSSymbolBounceEffectClass NSSymbolBounceEffectClass) Effect() NSSymbolBounceEffect

An animation that applies a transitory scaling effect, or bounce, to the layers in a symbol-based image separately or as a whole.

Return Value

A new instance of the bounce effect options.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBounceEffect/effect

type NSSymbolBreatheEffect

type NSSymbolBreatheEffect struct {
	NSSymbolEffect
}

A symbol effect that applies the Breathe animation to symbol images.

Overview

The Breathe animation smoothly scales a symbol up and down.

Instance Methods

See: https://developer.apple.com/documentation/Symbols/NSSymbolBreatheEffect

func NSSymbolBreatheEffectFromID

func NSSymbolBreatheEffectFromID(id objc.ID) NSSymbolBreatheEffect

NSSymbolBreatheEffectFromID constructs a NSSymbolBreatheEffect from an objc.ID.

A symbol effect that applies the Breathe animation to symbol images.

func NewNSSymbolBreatheEffect

func NewNSSymbolBreatheEffect() NSSymbolBreatheEffect

NewNSSymbolBreatheEffect creates a new NSSymbolBreatheEffect instance.

func (NSSymbolBreatheEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolBreatheEffect) EffectWithByLayer

func (s NSSymbolBreatheEffect) EffectWithByLayer() INSSymbolBreatheEffect

Returns a copy of the effect that animates incrementally, by layer.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBreatheEffect/effectWithByLayer

func (NSSymbolBreatheEffect) EffectWithWholeSymbol

func (s NSSymbolBreatheEffect) EffectWithWholeSymbol() INSSymbolBreatheEffect

Returns a copy of the effect that animates all layers of the symbol simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBreatheEffect/effectWithWholeSymbol

func (NSSymbolBreatheEffect) Init

Init initializes the instance.

type NSSymbolBreatheEffectClass

type NSSymbolBreatheEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolBreatheEffectClass

func GetNSSymbolBreatheEffectClass() NSSymbolBreatheEffectClass

GetNSSymbolBreatheEffectClass returns the class object for NSSymbolBreatheEffect.

func (NSSymbolBreatheEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolBreatheEffectClass) BreathePlainEffect

func (_NSSymbolBreatheEffectClass NSSymbolBreatheEffectClass) BreathePlainEffect() NSSymbolBreatheEffect

Convenience initializer for a breathe effect that makes the symbol breathe with no other styling.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBreatheEffect/breathePlainEffect

func (NSSymbolBreatheEffectClass) BreathePulseEffect

func (_NSSymbolBreatheEffectClass NSSymbolBreatheEffectClass) BreathePulseEffect() NSSymbolBreatheEffect

Convenience initializer for a breathe effect that pulses layers as they breathe.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBreatheEffect/breathePulseEffect

func (NSSymbolBreatheEffectClass) Effect

func (_NSSymbolBreatheEffectClass NSSymbolBreatheEffectClass) Effect() NSSymbolBreatheEffect

The default breathe effect, determined by the system.

See: https://developer.apple.com/documentation/Symbols/NSSymbolBreatheEffect/effect

type NSSymbolContentTransition

type NSSymbolContentTransition struct {
	objectivec.Object
}

An abstract base class for transitions you can apply to symbol-based images.

See: https://developer.apple.com/documentation/Symbols/NSSymbolContentTransition

func NSSymbolContentTransitionFromID

func NSSymbolContentTransitionFromID(id objc.ID) NSSymbolContentTransition

NSSymbolContentTransitionFromID constructs a NSSymbolContentTransition from an objc.ID.

An abstract base class for transitions you can apply to symbol-based images.

func NewNSSymbolContentTransition

func NewNSSymbolContentTransition() NSSymbolContentTransition

NewNSSymbolContentTransition creates a new NSSymbolContentTransition instance.

func (NSSymbolContentTransition) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolContentTransition) EncodeWithCoder

func (s NSSymbolContentTransition) EncodeWithCoder(coder foundation.INSCoder)

func (NSSymbolContentTransition) Init

Init initializes the instance.

type NSSymbolContentTransitionClass

type NSSymbolContentTransitionClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolContentTransitionClass

func GetNSSymbolContentTransitionClass() NSSymbolContentTransitionClass

GetNSSymbolContentTransitionClass returns the class object for NSSymbolContentTransition.

func (NSSymbolContentTransitionClass) Alloc

Alloc allocates memory for a new instance of the class.

type NSSymbolDisappearEffect

type NSSymbolDisappearEffect struct {
	NSSymbolEffect
}

A type that makes the layers of a symbol-based image disappear separately or as a whole.

Overview

A disappear transition causes a symbol to become invisible using a scaling animation. You can choose to scale the image up or down and to animate the symbol by individual layers or as a whole.

Determining effect scope

See: https://developer.apple.com/documentation/Symbols/NSSymbolDisappearEffect

func NSSymbolDisappearEffectFromID

func NSSymbolDisappearEffectFromID(id objc.ID) NSSymbolDisappearEffect

NSSymbolDisappearEffectFromID constructs a NSSymbolDisappearEffect from an objc.ID.

A type that makes the layers of a symbol-based image disappear separately or as a whole.

func NewNSSymbolDisappearEffect

func NewNSSymbolDisappearEffect() NSSymbolDisappearEffect

NewNSSymbolDisappearEffect creates a new NSSymbolDisappearEffect instance.

func (NSSymbolDisappearEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolDisappearEffect) EffectWithByLayer

func (s NSSymbolDisappearEffect) EffectWithByLayer() INSSymbolDisappearEffect

An effect that makes each layer disappear separately.

Return Value

A copy of the effect options that makes each layer disappear separately.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDisappearEffect/effectWithByLayer

func (NSSymbolDisappearEffect) EffectWithWholeSymbol

func (s NSSymbolDisappearEffect) EffectWithWholeSymbol() INSSymbolDisappearEffect

An effect that makes all layers disappear simultaneously.

Return Value

A copy of the effect options that makes all layers disappear simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDisappearEffect/effectWithWholeSymbol

func (NSSymbolDisappearEffect) Init

Init initializes the instance.

type NSSymbolDisappearEffectClass

type NSSymbolDisappearEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolDisappearEffectClass

func GetNSSymbolDisappearEffectClass() NSSymbolDisappearEffectClass

GetNSSymbolDisappearEffectClass returns the class object for NSSymbolDisappearEffect.

func (NSSymbolDisappearEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolDisappearEffectClass) DisappearDownEffect

func (_NSSymbolDisappearEffectClass NSSymbolDisappearEffectClass) DisappearDownEffect() NSSymbolDisappearEffect

An effect that scales the symbol down as it disappears.

Return Value

A new instance of the disappear effect options that makes the symbol scale down as it disappears.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDisappearEffect/disappearDownEffect

func (NSSymbolDisappearEffectClass) DisappearUpEffect

func (_NSSymbolDisappearEffectClass NSSymbolDisappearEffectClass) DisappearUpEffect() NSSymbolDisappearEffect

An effect that scales the symbol up as it disappears.

Return Value

A new instance of the disappear effect options that makes the symbol scale up as it disappears.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDisappearEffect/disappearUpEffect

func (NSSymbolDisappearEffectClass) Effect

func (_NSSymbolDisappearEffectClass NSSymbolDisappearEffectClass) Effect() NSSymbolDisappearEffect

An animation that makes the layers of a symbol-based image disappear separately or as a whole.

Return Value

A new instance of the disappear effect options.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDisappearEffect/effect

type NSSymbolDrawOffEffect

type NSSymbolDrawOffEffect struct {
	NSSymbolEffect
}

A symbol effect that applies the DrawOff animation to symbol images.

Overview

The DrawOff animation makes the symbol hidden either as a whole, or one motion group at a time, animating parts of the symbol with draw data.

Instance Methods

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOffEffect

func NSSymbolDrawOffEffectFromID

func NSSymbolDrawOffEffectFromID(id objc.ID) NSSymbolDrawOffEffect

NSSymbolDrawOffEffectFromID constructs a NSSymbolDrawOffEffect from an objc.ID.

A symbol effect that applies the DrawOff animation to symbol images.

func NewNSSymbolDrawOffEffect

func NewNSSymbolDrawOffEffect() NSSymbolDrawOffEffect

NewNSSymbolDrawOffEffect creates a new NSSymbolDrawOffEffect instance.

func (NSSymbolDrawOffEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolDrawOffEffect) EffectWithByLayer

func (s NSSymbolDrawOffEffect) EffectWithByLayer() INSSymbolDrawOffEffect

Returns a copy of the effect requesting an animation that applies separately to each motion group.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOffEffect/effectWithByLayer

func (NSSymbolDrawOffEffect) EffectWithIndividually

func (s NSSymbolDrawOffEffect) EffectWithIndividually() INSSymbolDrawOffEffect

Returns a copy of the effect requesting an animation that applies separately to each motion group, where only one motion group is active at a time.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOffEffect/effectWithIndividually

func (NSSymbolDrawOffEffect) EffectWithNonReversed

func (s NSSymbolDrawOffEffect) EffectWithNonReversed() INSSymbolDrawOffEffect

Returns a copy of the effect that only animates forwards. This cancels the reversed variant.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOffEffect/effectWithNonReversed

func (NSSymbolDrawOffEffect) EffectWithReversed

func (s NSSymbolDrawOffEffect) EffectWithReversed() INSSymbolDrawOffEffect

Returns a copy of the effect that animates in reverse. This cancels the nonReversed variant.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOffEffect/effectWithReversed

func (NSSymbolDrawOffEffect) EffectWithWholeSymbol

func (s NSSymbolDrawOffEffect) EffectWithWholeSymbol() INSSymbolDrawOffEffect

Returns a copy of the effect requesting an animation that applies to all motion groups simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOffEffect/effectWithWholeSymbol

func (NSSymbolDrawOffEffect) Init

Init initializes the instance.

type NSSymbolDrawOffEffectClass

type NSSymbolDrawOffEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolDrawOffEffectClass

func GetNSSymbolDrawOffEffectClass() NSSymbolDrawOffEffectClass

GetNSSymbolDrawOffEffectClass returns the class object for NSSymbolDrawOffEffect.

func (NSSymbolDrawOffEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolDrawOffEffectClass) Effect

func (_NSSymbolDrawOffEffectClass NSSymbolDrawOffEffectClass) Effect() NSSymbolDrawOffEffect

The default draw off effect, determined by the system.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOffEffect/effect

type NSSymbolDrawOnEffect

type NSSymbolDrawOnEffect struct {
	NSSymbolEffect
}

A symbol effect that applies the DrawOn animation to symbol images.

Overview

The DrawOn animation makes the symbol visible either as a whole, or one motion group at a time, animating parts of the symbol with draw data.

Instance Methods

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOnEffect

func NSSymbolDrawOnEffectFromID

func NSSymbolDrawOnEffectFromID(id objc.ID) NSSymbolDrawOnEffect

NSSymbolDrawOnEffectFromID constructs a NSSymbolDrawOnEffect from an objc.ID.

A symbol effect that applies the DrawOn animation to symbol images.

func NewNSSymbolDrawOnEffect

func NewNSSymbolDrawOnEffect() NSSymbolDrawOnEffect

NewNSSymbolDrawOnEffect creates a new NSSymbolDrawOnEffect instance.

func (NSSymbolDrawOnEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolDrawOnEffect) EffectWithByLayer

func (s NSSymbolDrawOnEffect) EffectWithByLayer() INSSymbolDrawOnEffect

Returns a copy of the effect requesting an animation that applies separately to each motion group.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOnEffect/effectWithByLayer

func (NSSymbolDrawOnEffect) EffectWithIndividually

func (s NSSymbolDrawOnEffect) EffectWithIndividually() INSSymbolDrawOnEffect

Returns a copy of the effect requesting an animation that applies separately to each motion group, where only one motion group is active at a time.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOnEffect/effectWithIndividually

func (NSSymbolDrawOnEffect) EffectWithWholeSymbol

func (s NSSymbolDrawOnEffect) EffectWithWholeSymbol() INSSymbolDrawOnEffect

Returns a copy of the effect requesting an animation that applies to all motion groups simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOnEffect/effectWithWholeSymbol

func (NSSymbolDrawOnEffect) Init

Init initializes the instance.

type NSSymbolDrawOnEffectClass

type NSSymbolDrawOnEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolDrawOnEffectClass

func GetNSSymbolDrawOnEffectClass() NSSymbolDrawOnEffectClass

GetNSSymbolDrawOnEffectClass returns the class object for NSSymbolDrawOnEffect.

func (NSSymbolDrawOnEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolDrawOnEffectClass) Effect

func (_NSSymbolDrawOnEffectClass NSSymbolDrawOnEffectClass) Effect() NSSymbolDrawOnEffect

The default draw on effect, determined by the system.

See: https://developer.apple.com/documentation/Symbols/NSSymbolDrawOnEffect/effect

type NSSymbolEffect

type NSSymbolEffect struct {
	objectivec.Object
}

An abstract base class for effects that you can apply to a symbol-based image.

Overview

You don’t use this class directly. Instead, use a class that inherits from this one, such as NSSymbolBounceEffect.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffect

func NSSymbolEffectFromID

func NSSymbolEffectFromID(id objc.ID) NSSymbolEffect

NSSymbolEffectFromID constructs a NSSymbolEffect from an objc.ID.

An abstract base class for effects that you can apply to a symbol-based image.

func NewNSSymbolEffect

func NewNSSymbolEffect() NSSymbolEffect

NewNSSymbolEffect creates a new NSSymbolEffect instance.

func (NSSymbolEffect) Autorelease

func (s NSSymbolEffect) Autorelease() NSSymbolEffect

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolEffect) EncodeWithCoder

func (s NSSymbolEffect) EncodeWithCoder(coder foundation.INSCoder)

func (NSSymbolEffect) Init

func (s NSSymbolEffect) Init() NSSymbolEffect

Init initializes the instance.

type NSSymbolEffectClass

type NSSymbolEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolEffectClass

func GetNSSymbolEffectClass() NSSymbolEffectClass

GetNSSymbolEffectClass returns the class object for NSSymbolEffect.

func (NSSymbolEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

type NSSymbolEffectOptions

type NSSymbolEffectOptions struct {
	objectivec.Object
}

Options that configure how effects apply to symbol-based images.

Configuring repeating effects

Configuring effect speed

Instance Methods

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptions

func NSSymbolEffectOptionsFromID

func NSSymbolEffectOptionsFromID(id objc.ID) NSSymbolEffectOptions

NSSymbolEffectOptionsFromID constructs a NSSymbolEffectOptions from an objc.ID.

Options that configure how effects apply to symbol-based images.

func NewNSSymbolEffectOptions

func NewNSSymbolEffectOptions() NSSymbolEffectOptions

NewNSSymbolEffectOptions creates a new NSSymbolEffectOptions instance.

func (NSSymbolEffectOptions) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolEffectOptions) EncodeWithCoder

func (s NSSymbolEffectOptions) EncodeWithCoder(coder foundation.INSCoder)

func (NSSymbolEffectOptions) Init

Init initializes the instance.

func (NSSymbolEffectOptions) OptionsWithNonRepeating

func (s NSSymbolEffectOptions) OptionsWithNonRepeating() INSSymbolEffectOptions

A set of effect options that prefers to not repeat.

Return Value

A copy of the effect options that prefers to not repeat.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptions/optionsWithNonRepeating-c.method

func (NSSymbolEffectOptions) OptionsWithRepeatBehaviorWithBehavior

func (s NSSymbolEffectOptions) OptionsWithRepeatBehaviorWithBehavior(behavior INSSymbolEffectOptionsRepeatBehavior) INSSymbolEffectOptions

Return a copy of the options setting a preferred repeat behavior.

behavior: The preferred behavior when the effect is repeated.

Return Value

A new options object with the preferred repeat behavior.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptions/optionsWithRepeatBehavior:-c.method

func (NSSymbolEffectOptions) OptionsWithSpeedWithSpeed

func (s NSSymbolEffectOptions) OptionsWithSpeedWithSpeed(speed float64) INSSymbolEffectOptions

Creates a set of effect options with a preferred speed multiplier.

speed: The preferred speed multiplier to play the effect with. The default multiplier is `1.0`. The function may clamp very large or small values.

Return Value

A copy of the effect options with the preferred speed multiplier.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptions/optionsWithSpeed:-c.method

type NSSymbolEffectOptionsClass

type NSSymbolEffectOptionsClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolEffectOptionsClass

func GetNSSymbolEffectOptionsClass() NSSymbolEffectOptionsClass

GetNSSymbolEffectOptionsClass returns the class object for NSSymbolEffectOptions.

func (NSSymbolEffectOptionsClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolEffectOptionsClass) Options

func (_NSSymbolEffectOptionsClass NSSymbolEffectOptionsClass) Options() NSSymbolEffectOptions

The default set of effect options.

Return Value

A new instance of effect options.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptions/options

type NSSymbolEffectOptionsRepeatBehavior

type NSSymbolEffectOptionsRepeatBehavior struct {
	objectivec.Object
}

The behavior of repetition to use when a symbol effect is animating.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptionsRepeatBehavior

func NSSymbolEffectOptionsRepeatBehaviorFromID

func NSSymbolEffectOptionsRepeatBehaviorFromID(id objc.ID) NSSymbolEffectOptionsRepeatBehavior

NSSymbolEffectOptionsRepeatBehaviorFromID constructs a NSSymbolEffectOptionsRepeatBehavior from an objc.ID.

The behavior of repetition to use when a symbol effect is animating.

func NewNSSymbolEffectOptionsRepeatBehavior

func NewNSSymbolEffectOptionsRepeatBehavior() NSSymbolEffectOptionsRepeatBehavior

NewNSSymbolEffectOptionsRepeatBehavior creates a new NSSymbolEffectOptionsRepeatBehavior instance.

func (NSSymbolEffectOptionsRepeatBehavior) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolEffectOptionsRepeatBehavior) EncodeWithCoder

func (s NSSymbolEffectOptionsRepeatBehavior) EncodeWithCoder(coder foundation.INSCoder)

func (NSSymbolEffectOptionsRepeatBehavior) Init

Init initializes the instance.

type NSSymbolEffectOptionsRepeatBehaviorClass

type NSSymbolEffectOptionsRepeatBehaviorClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolEffectOptionsRepeatBehaviorClass

func GetNSSymbolEffectOptionsRepeatBehaviorClass() NSSymbolEffectOptionsRepeatBehaviorClass

GetNSSymbolEffectOptionsRepeatBehaviorClass returns the class object for NSSymbolEffectOptionsRepeatBehavior.

func (NSSymbolEffectOptionsRepeatBehaviorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorContinuous

func (_NSSymbolEffectOptionsRepeatBehaviorClass NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorContinuous() NSSymbolEffectOptionsRepeatBehavior

Creates and returns a repeat behavior that prefers to repeat indefinitely, using continuous animations if available. Continuous animations have an intro, a body that runs as long as the effect is enabled, and an outro. If available these animations provide a smoother animation when an effect repeats indefinitely.

Return Value

A new behavior that prefers to repeat indefinitely with continuous animations.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptionsRepeatBehavior/behaviorContinuous

func (NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorPeriodic

func (_NSSymbolEffectOptionsRepeatBehaviorClass NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorPeriodic() NSSymbolEffectOptionsRepeatBehavior

Creates and returns a repeat behavior that prefers to repeat indefinitely using periodic animations. Periodic animations play the effect at regular intervals starting and stopping each time.

Return Value

A new behavior that prefers to repeat indefinitely using periodic animations.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptionsRepeatBehavior/behaviorPeriodic

func (NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorPeriodicWithCount

func (_NSSymbolEffectOptionsRepeatBehaviorClass NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorPeriodicWithCount(count int) NSSymbolEffectOptionsRepeatBehavior

Creates and returns a repeat behavior with a preferred play count using periodic animations. Periodic animations play the effect at regular intervals starting and stopping each time.

count: The preferred number of times to play the effect. Very large or small values may be clamped.

Return Value

A new behavior with the preferred play count using periodic animations.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptionsRepeatBehavior/behaviorPeriodicWithCount:

func (NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorPeriodicWithCountDelay

func (_NSSymbolEffectOptionsRepeatBehaviorClass NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorPeriodicWithCountDelay(count int, delay float64) NSSymbolEffectOptionsRepeatBehavior

Creates and returns a repeat behavior with a preferred play count and delay using periodic animations. Periodic animations play the effect at regular intervals starting and stopping each time.

count: The preferred number of times to play the effect. Very large or small values may be clamped.

delay: The preferred delay between repetitions, in seconds.

Return Value

A new behavior with the preferred play count and delay using periodic animations.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptionsRepeatBehavior/behaviorPeriodicWithCount:delay:

func (NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorPeriodicWithDelay

func (_NSSymbolEffectOptionsRepeatBehaviorClass NSSymbolEffectOptionsRepeatBehaviorClass) BehaviorPeriodicWithDelay(delay float64) NSSymbolEffectOptionsRepeatBehavior

Creates and returns a repeat behavior with a preferred repeat delay using periodic animations. Periodic animations play the effect at regular intervals starting and stopping each time.

delay: The preferred delay between repetitions, in seconds.

Return Value

A new behavior that prefers to repeat indefinitely with a specified delay using periodic animations.

See: https://developer.apple.com/documentation/Symbols/NSSymbolEffectOptionsRepeatBehavior/behaviorPeriodicWithDelay:

type NSSymbolMagicReplaceContentTransition

type NSSymbolMagicReplaceContentTransition struct {
	NSSymbolContentTransition
}

A symbol effect applies the MagicReplace animation to symbol images.

Overview

The MagicReplace effect animates common elements across symbol images.

See: https://developer.apple.com/documentation/Symbols/NSSymbolMagicReplaceContentTransition

func NSSymbolMagicReplaceContentTransitionFromID

func NSSymbolMagicReplaceContentTransitionFromID(id objc.ID) NSSymbolMagicReplaceContentTransition

NSSymbolMagicReplaceContentTransitionFromID constructs a NSSymbolMagicReplaceContentTransition from an objc.ID.

A symbol effect applies the MagicReplace animation to symbol images.

func NewNSSymbolMagicReplaceContentTransition

func NewNSSymbolMagicReplaceContentTransition() NSSymbolMagicReplaceContentTransition

NewNSSymbolMagicReplaceContentTransition creates a new NSSymbolMagicReplaceContentTransition instance.

func (NSSymbolMagicReplaceContentTransition) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolMagicReplaceContentTransition) Init

Init initializes the instance.

type NSSymbolMagicReplaceContentTransitionClass

type NSSymbolMagicReplaceContentTransitionClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolMagicReplaceContentTransitionClass

func GetNSSymbolMagicReplaceContentTransitionClass() NSSymbolMagicReplaceContentTransitionClass

GetNSSymbolMagicReplaceContentTransitionClass returns the class object for NSSymbolMagicReplaceContentTransition.

func (NSSymbolMagicReplaceContentTransitionClass) Alloc

Alloc allocates memory for a new instance of the class.

type NSSymbolPulseEffect

type NSSymbolPulseEffect struct {
	NSSymbolEffect
}

A type that fades the opacity of some or all layers in a symbol-based image.

Overview

A pulse animation applies an opacity ramp to the layers in a symbol. You can choose to animate only layers marked as “always-pulses” or all layers simultaneously. Participating layers reduce their opacity to a minimum value before returning to fully opaque.

Determining effect scope

See: https://developer.apple.com/documentation/Symbols/NSSymbolPulseEffect

func NSSymbolPulseEffectFromID

func NSSymbolPulseEffectFromID(id objc.ID) NSSymbolPulseEffect

NSSymbolPulseEffectFromID constructs a NSSymbolPulseEffect from an objc.ID.

A type that fades the opacity of some or all layers in a symbol-based image.

func NewNSSymbolPulseEffect

func NewNSSymbolPulseEffect() NSSymbolPulseEffect

NewNSSymbolPulseEffect creates a new NSSymbolPulseEffect instance.

func (NSSymbolPulseEffect) Autorelease

func (s NSSymbolPulseEffect) Autorelease() NSSymbolPulseEffect

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolPulseEffect) EffectWithByLayer

func (s NSSymbolPulseEffect) EffectWithByLayer() INSSymbolPulseEffect

A copy of the effect requesting an animation that pulses only the layers marked to always pulse.

Return Value

A copy of the effect options that pulses only the layers marked to always pulse.

See: https://developer.apple.com/documentation/Symbols/NSSymbolPulseEffect/effectWithByLayer

func (NSSymbolPulseEffect) EffectWithWholeSymbol

func (s NSSymbolPulseEffect) EffectWithWholeSymbol() INSSymbolPulseEffect

A copy of the effect requesting an animation that pulses all layers simultaneously.

Return Value

A copy of the effect options that pulses all layers simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolPulseEffect/effectWithWholeSymbol

func (NSSymbolPulseEffect) Init

Init initializes the instance.

type NSSymbolPulseEffectClass

type NSSymbolPulseEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolPulseEffectClass

func GetNSSymbolPulseEffectClass() NSSymbolPulseEffectClass

GetNSSymbolPulseEffectClass returns the class object for NSSymbolPulseEffect.

func (NSSymbolPulseEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolPulseEffectClass) Effect

func (_NSSymbolPulseEffectClass NSSymbolPulseEffectClass) Effect() NSSymbolPulseEffect

The default pulse effect, determined by the system.

Return Value

A new instance of the pulse effect options.

See: https://developer.apple.com/documentation/Symbols/NSSymbolPulseEffect/effect

type NSSymbolReplaceContentTransition

type NSSymbolReplaceContentTransition struct {
	NSSymbolContentTransition
}

A type that replaces the layers of one symbol-based image with those of another.

Overview

A replace transition animates the change from one symbol image to another. You choose from one of the predefined scaling animations: Down-Up, Off-Up, and Up-Up.

Down-Up: The initial symbol scales down as it’s removed, and the new symbol scales up as it’s added. Off-Up: The initial symbol is removed with no animation, and the new symbol scales up as it’s added. Up-Up: The initial symbol scales up as it’s removed, and the new symbol scales up as it’s added.

Determining effect scope

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition

func NSSymbolReplaceContentTransitionFromID

func NSSymbolReplaceContentTransitionFromID(id objc.ID) NSSymbolReplaceContentTransition

NSSymbolReplaceContentTransitionFromID constructs a NSSymbolReplaceContentTransition from an objc.ID.

A type that replaces the layers of one symbol-based image with those of another.

func NewNSSymbolReplaceContentTransition

func NewNSSymbolReplaceContentTransition() NSSymbolReplaceContentTransition

NewNSSymbolReplaceContentTransition creates a new NSSymbolReplaceContentTransition instance.

func (NSSymbolReplaceContentTransition) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolReplaceContentTransition) Init

Init initializes the instance.

func (NSSymbolReplaceContentTransition) TransitionWithByLayer

An effect that replaces each layer separately.

Return Value

A copy of the transition that replaces each layer separately.

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition/transitionWithByLayer

func (NSSymbolReplaceContentTransition) TransitionWithWholeSymbol

An effect that replaces all layers simultaneously.

Return Value

A copy of the transition that replaces all layers simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition/transitionWithWholeSymbol

type NSSymbolReplaceContentTransitionClass

type NSSymbolReplaceContentTransitionClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolReplaceContentTransitionClass

func GetNSSymbolReplaceContentTransitionClass() NSSymbolReplaceContentTransitionClass

GetNSSymbolReplaceContentTransitionClass returns the class object for NSSymbolReplaceContentTransition.

func (NSSymbolReplaceContentTransitionClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolReplaceContentTransitionClass) MagicTransitionWithFallback

func (_NSSymbolReplaceContentTransitionClass NSSymbolReplaceContentTransitionClass) MagicTransitionWithFallback(fallback INSSymbolReplaceContentTransition) NSSymbolMagicReplaceContentTransition

Convenience initializer for a MagicReplace content transition with a configured Replace fallback.

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition/magicTransitionWithFallback:

func (NSSymbolReplaceContentTransitionClass) ReplaceDownUpTransition

func (_NSSymbolReplaceContentTransitionClass NSSymbolReplaceContentTransitionClass) ReplaceDownUpTransition() NSSymbolReplaceContentTransition

An effect that replaces a symbol by scaling it down, and scaling a different symbol up.

Return Value

A new instance of the transition that uses the Down-Up animation.

Discussion

The initial symbol scales down as it’s removed, and the new symbol scales up as it’s added.

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition/replaceDownUpTransition

func (NSSymbolReplaceContentTransitionClass) ReplaceOffUpTransition

func (_NSSymbolReplaceContentTransitionClass NSSymbolReplaceContentTransitionClass) ReplaceOffUpTransition() NSSymbolReplaceContentTransition

An effect that replaces a symbol by removing it, and scaling a different symbol up.

Return Value

A new instance of the transition that uses the Off-Up animation.

Discussion

The initial symbol is removed with no animation, and the new symbol scales up as it’s added.

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition/replaceOffUpTransition

func (NSSymbolReplaceContentTransitionClass) ReplaceUpUpTransition

func (_NSSymbolReplaceContentTransitionClass NSSymbolReplaceContentTransitionClass) ReplaceUpUpTransition() NSSymbolReplaceContentTransition

An effect that replaces a symbol by scaling it up, and scaling a different symbol up.

Return Value

A new instance of the transition that uses the Up-Up animation.

Discussion

The initial symbol scales up as it’s removed, and the new symbol scales up as it’s added.

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition/replaceUpUpTransition

func (NSSymbolReplaceContentTransitionClass) Transition

func (_NSSymbolReplaceContentTransitionClass NSSymbolReplaceContentTransitionClass) Transition() NSSymbolReplaceContentTransition

An effect that replaces the layers of one symbol-based image with those of another.

Return Value

A new instance of the replace transition.

See: https://developer.apple.com/documentation/Symbols/NSSymbolReplaceContentTransition/transition

type NSSymbolRotateEffect

type NSSymbolRotateEffect struct {
	NSSymbolEffect
}

A symbol effect that applies the Rotate animation to symbol images.

Overview

The Rotate animation rotates parts of a symbol around a symbol-provided anchor point.

Instance Methods

See: https://developer.apple.com/documentation/Symbols/NSSymbolRotateEffect

func NSSymbolRotateEffectFromID

func NSSymbolRotateEffectFromID(id objc.ID) NSSymbolRotateEffect

NSSymbolRotateEffectFromID constructs a NSSymbolRotateEffect from an objc.ID.

A symbol effect that applies the Rotate animation to symbol images.

func NewNSSymbolRotateEffect

func NewNSSymbolRotateEffect() NSSymbolRotateEffect

NewNSSymbolRotateEffect creates a new NSSymbolRotateEffect instance.

func (NSSymbolRotateEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolRotateEffect) EffectWithByLayer

func (s NSSymbolRotateEffect) EffectWithByLayer() INSSymbolRotateEffect

Returns a copy of the effect that animates incrementally, by layer.

See: https://developer.apple.com/documentation/Symbols/NSSymbolRotateEffect/effectWithByLayer

func (NSSymbolRotateEffect) EffectWithWholeSymbol

func (s NSSymbolRotateEffect) EffectWithWholeSymbol() INSSymbolRotateEffect

Returns a copy of the effect that animates all layers of the symbol simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolRotateEffect/effectWithWholeSymbol

func (NSSymbolRotateEffect) Init

Init initializes the instance.

type NSSymbolRotateEffectClass

type NSSymbolRotateEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolRotateEffectClass

func GetNSSymbolRotateEffectClass() NSSymbolRotateEffectClass

GetNSSymbolRotateEffectClass returns the class object for NSSymbolRotateEffect.

func (NSSymbolRotateEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolRotateEffectClass) Effect

func (_NSSymbolRotateEffectClass NSSymbolRotateEffectClass) Effect() NSSymbolRotateEffect

The default rotate effect, determined by the system.

See: https://developer.apple.com/documentation/Symbols/NSSymbolRotateEffect/effect

func (NSSymbolRotateEffectClass) RotateClockwiseEffect

func (_NSSymbolRotateEffectClass NSSymbolRotateEffectClass) RotateClockwiseEffect() NSSymbolRotateEffect

Convenience initializer for a rotate effect that rotates clockwise.

See: https://developer.apple.com/documentation/Symbols/NSSymbolRotateEffect/rotateClockwiseEffect

func (NSSymbolRotateEffectClass) RotateCounterClockwiseEffect

func (_NSSymbolRotateEffectClass NSSymbolRotateEffectClass) RotateCounterClockwiseEffect() NSSymbolRotateEffect

Convenience initializer for a rotate effect that rotates counter-clockwise.

See: https://developer.apple.com/documentation/Symbols/NSSymbolRotateEffect/rotateCounterClockwiseEffect

type NSSymbolScaleEffect

type NSSymbolScaleEffect struct {
	NSSymbolEffect
}

A type that scales the layers in a symbol-based image separately or as a whole.

Overview

A scale animation draws attention to a symbol by changing the symbol’s scale indefinitely. You can choose to scale the symbol up or down.

Determining effect scope

See: https://developer.apple.com/documentation/Symbols/NSSymbolScaleEffect

func NSSymbolScaleEffectFromID

func NSSymbolScaleEffectFromID(id objc.ID) NSSymbolScaleEffect

NSSymbolScaleEffectFromID constructs a NSSymbolScaleEffect from an objc.ID.

A type that scales the layers in a symbol-based image separately or as a whole.

func NewNSSymbolScaleEffect

func NewNSSymbolScaleEffect() NSSymbolScaleEffect

NewNSSymbolScaleEffect creates a new NSSymbolScaleEffect instance.

func (NSSymbolScaleEffect) Autorelease

func (s NSSymbolScaleEffect) Autorelease() NSSymbolScaleEffect

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolScaleEffect) EffectWithByLayer

func (s NSSymbolScaleEffect) EffectWithByLayer() INSSymbolScaleEffect

An effect that scales each layer separately.

Return Value

A copy of the effect options that scales each layer separately.

See: https://developer.apple.com/documentation/Symbols/NSSymbolScaleEffect/effectWithByLayer

func (NSSymbolScaleEffect) EffectWithWholeSymbol

func (s NSSymbolScaleEffect) EffectWithWholeSymbol() INSSymbolScaleEffect

An effect that scales all layers simultaneously.

Return Value

A copy of the effect options that scales all layers simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolScaleEffect/effectWithWholeSymbol

func (NSSymbolScaleEffect) Init

Init initializes the instance.

type NSSymbolScaleEffectClass

type NSSymbolScaleEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolScaleEffectClass

func GetNSSymbolScaleEffectClass() NSSymbolScaleEffectClass

GetNSSymbolScaleEffectClass returns the class object for NSSymbolScaleEffect.

func (NSSymbolScaleEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolScaleEffectClass) Effect

func (_NSSymbolScaleEffectClass NSSymbolScaleEffectClass) Effect() NSSymbolScaleEffect

An animation that scales the layers in a symbol-based image separately or as a whole.

Return Value

A new instance of the scale effect options.

See: https://developer.apple.com/documentation/Symbols/NSSymbolScaleEffect/effect

func (NSSymbolScaleEffectClass) ScaleDownEffect

func (_NSSymbolScaleEffectClass NSSymbolScaleEffectClass) ScaleDownEffect() NSSymbolScaleEffect

An effect that scales the symbol down.

Return Value

A new instance of the scale effect options that scales down the symbol.

See: https://developer.apple.com/documentation/Symbols/NSSymbolScaleEffect/scaleDownEffect

func (NSSymbolScaleEffectClass) ScaleUpEffect

func (_NSSymbolScaleEffectClass NSSymbolScaleEffectClass) ScaleUpEffect() NSSymbolScaleEffect

An effect that scales the symbol up.

Return Value

A new instance of the scale effect options that scales up the symbol.

See: https://developer.apple.com/documentation/Symbols/NSSymbolScaleEffect/scaleUpEffect

type NSSymbolVariableColorEffect

type NSSymbolVariableColorEffect struct {
	NSSymbolEffect
}

A type that replaces the opacity of variable layers in a symbol-based image in a repeatable sequence.

Overview

A variable color animation draws attention to a symbol by changing the opacity of the symbol’s layers. You can choose to apply the effect to layers either cumulatively or iteratively. For cumulative animations, each layer’s opacity remains changed until the end of the animation cycle. For iterative animations, each layer’s opacity changes briefly before returning to its original state.

Controlling fill style

Changing playback style

Affecting inactive layers

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect

func NSSymbolVariableColorEffectFromID

func NSSymbolVariableColorEffectFromID(id objc.ID) NSSymbolVariableColorEffect

NSSymbolVariableColorEffectFromID constructs a NSSymbolVariableColorEffect from an objc.ID.

A type that replaces the opacity of variable layers in a symbol-based image in a repeatable sequence.

func NewNSSymbolVariableColorEffect

func NewNSSymbolVariableColorEffect() NSSymbolVariableColorEffect

NewNSSymbolVariableColorEffect creates a new NSSymbolVariableColorEffect instance.

func (NSSymbolVariableColorEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolVariableColorEffect) EffectWithCumulative

An effect that enables each layer of a symbol-based image in sequence.

Return Value

A copy of the symbol effect options that uses the `cumulative` animation.

Discussion

This effect enables each successive variable layer, and the layer remains enabled until the end of the animation cycle. This effect cancels the iterative variant.

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect/effectWithCumulative

func (NSSymbolVariableColorEffect) EffectWithDimInactiveLayers

func (s NSSymbolVariableColorEffect) EffectWithDimInactiveLayers() INSSymbolVariableColorEffect

An effect that dims inactive layers in a symbol-based image.

Return Value

A copy of the symbol effect options that dims inactive layers.

Discussion

This effect draws inactive layers with reduced, but nonzero, opacity.

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect/effectWithDimInactiveLayers

func (NSSymbolVariableColorEffect) EffectWithHideInactiveLayers

func (s NSSymbolVariableColorEffect) EffectWithHideInactiveLayers() INSSymbolVariableColorEffect

An effect that hides inactive layers in a symbol-based image.

Return Value

A copy of the symbol effect options that hides inactive layers.

Discussion

This effect hides inactive layers completely, rather than drawing them with reduced, but nonzero, opacity.

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect/effectWithHideInactiveLayers

func (NSSymbolVariableColorEffect) EffectWithIterative

An effect that momentarily enables each layer of a symbol-based image in sequence.

Return Value

A copy of the symbol effect options that uses the `iterative` animation.

Discussion

This effect enables each successive variable layer for a short period of time, and then disables the layer until the animation cycle ends. This effect cancels the cumulative variant.

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect/effectWithIterative

func (NSSymbolVariableColorEffect) EffectWithNonReversing

func (s NSSymbolVariableColorEffect) EffectWithNonReversing() INSSymbolVariableColorEffect

An effect that doesn’t reverse each time it repeats.

Return Value

A copy of the symbol effect options that doesn’t reverse each time it repeats.

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect/effectWithNonReversing

func (NSSymbolVariableColorEffect) EffectWithReversing

An effect that reverses each time it repeats.

Return Value

A copy of the symbol effect options that reverses each time it repeats.

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect/effectWithReversing

func (NSSymbolVariableColorEffect) Init

Init initializes the instance.

type NSSymbolVariableColorEffectClass

type NSSymbolVariableColorEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolVariableColorEffectClass

func GetNSSymbolVariableColorEffectClass() NSSymbolVariableColorEffectClass

GetNSSymbolVariableColorEffectClass returns the class object for NSSymbolVariableColorEffect.

func (NSSymbolVariableColorEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolVariableColorEffectClass) Effect

func (_NSSymbolVariableColorEffectClass NSSymbolVariableColorEffectClass) Effect() NSSymbolVariableColorEffect

An animation that replaces the opacity of variable layers in a symbol-based image in a repeatable sequence.

Return Value

A new instance of the variable color effect options.

See: https://developer.apple.com/documentation/Symbols/NSSymbolVariableColorEffect/effect

type NSSymbolWiggleEffect

type NSSymbolWiggleEffect struct {
	NSSymbolEffect
}

A symbol effect that applies the Wiggle animation to symbol images.

Overview

The Wiggle animation applies a transitory translation or rotation effect to the symbol.

Instance Methods

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect

func NSSymbolWiggleEffectFromID

func NSSymbolWiggleEffectFromID(id objc.ID) NSSymbolWiggleEffect

NSSymbolWiggleEffectFromID constructs a NSSymbolWiggleEffect from an objc.ID.

A symbol effect that applies the Wiggle animation to symbol images.

func NewNSSymbolWiggleEffect

func NewNSSymbolWiggleEffect() NSSymbolWiggleEffect

NewNSSymbolWiggleEffect creates a new NSSymbolWiggleEffect instance.

func (NSSymbolWiggleEffect) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (NSSymbolWiggleEffect) EffectWithByLayer

func (s NSSymbolWiggleEffect) EffectWithByLayer() INSSymbolWiggleEffect

Returns a copy of the effect that animates incrementally, by layer.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/effectWithByLayer

func (NSSymbolWiggleEffect) EffectWithWholeSymbol

func (s NSSymbolWiggleEffect) EffectWithWholeSymbol() INSSymbolWiggleEffect

Returns a copy of the effect that animates all layers of the symbol simultaneously.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/effectWithWholeSymbol

func (NSSymbolWiggleEffect) Init

Init initializes the instance.

type NSSymbolWiggleEffectClass

type NSSymbolWiggleEffectClass struct {
	// contains filtered or unexported fields
}

func GetNSSymbolWiggleEffectClass

func GetNSSymbolWiggleEffectClass() NSSymbolWiggleEffectClass

GetNSSymbolWiggleEffectClass returns the class object for NSSymbolWiggleEffect.

func (NSSymbolWiggleEffectClass) Alloc

Alloc allocates memory for a new instance of the class.

func (NSSymbolWiggleEffectClass) Effect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) Effect() NSSymbolWiggleEffect

The default wiggle effect, determined by the system.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/effect

func (NSSymbolWiggleEffectClass) WiggleBackwardEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleBackwardEffect() NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that moves back and forth horizontally based on the current locale, starting by moving backward.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleBackwardEffect

func (NSSymbolWiggleEffectClass) WiggleClockwiseEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleClockwiseEffect() NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that rotates back and forth, starting by rotating clockwise.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleClockwiseEffect

func (NSSymbolWiggleEffectClass) WiggleCounterClockwiseEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleCounterClockwiseEffect() NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that rotates back and forth, starting by rotating counter-clockwise.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleCounterClockwiseEffect

func (NSSymbolWiggleEffectClass) WiggleCustomAngleEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleCustomAngleEffect(angle float64) NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that moves back and forth along an axis, starting by moving toward a custom angle.

Discussion

The angle is in degrees moving clockwise from the positive x-axis.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleCustomAngleEffect:

func (NSSymbolWiggleEffectClass) WiggleDownEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleDownEffect() NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that moves back and forth vertically, starting by moving down.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleDownEffect

func (NSSymbolWiggleEffectClass) WiggleForwardEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleForwardEffect() NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that moves back and forth horizontally based on the current locale, starting by moving forward.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleForwardEffect

func (NSSymbolWiggleEffectClass) WiggleLeftEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleLeftEffect() NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that moves back and forth horizontally, starting by moving left.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleLeftEffect

func (NSSymbolWiggleEffectClass) WiggleRightEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleRightEffect() NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that moves back and forth horizontally, starting by moving right.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleRightEffect

func (NSSymbolWiggleEffectClass) WiggleUpEffect

func (_NSSymbolWiggleEffectClass NSSymbolWiggleEffectClass) WiggleUpEffect() NSSymbolWiggleEffect

Convenience initializer for a wiggle effect that moves back and forth vertically, starting by moving up.

See: https://developer.apple.com/documentation/Symbols/NSSymbolWiggleEffect/wiggleUpEffect

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL