Platforms to show: All Mac Windows Linux Cross-Platform

NSSymbolWiggleEffectMBS class

Superclass: NSSymbolEffectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A symbol effect that applies the Wiggle animation to symbol images.
Example
// let a bell symbol wiggle three times (macOS 15 or newer)
Var imageView As New NSImageViewMBS(20, 20, 64, 64)
imageView.image = NSImageMBS.imageWithSystemSymbolName("bell.fill", "Symbol")
Self.NSWindowMBS.contentView.addSubview imageView

Var effect As NSSymbolWiggleEffectMBS = NSSymbolWiggleEffectMBS.wiggleClockwiseEffect.effectWithByLayer
imageView.addSymbolEffect(effect, NSSymbolEffectOptionsMBS.optionsWithRepeatCount(3))

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

Requires macOS 15.0, iOS 18.0 or newer.
Subclass of the NSSymbolEffectMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Superclass NSSymbolEffectMBS

This class has no subclasses.

Some related classes:


The items on this page are in the following plugins: MBS MacControls Plugin.


NSSymbolVariableColorEffectMBS   -   NSTableColumnMBS


The biggest plugin in space...