Platforms to show: All Mac Windows Linux Cross-Platform

NSSymbolEffectOptionsRepeatBehaviorMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The behavior of repetition to use when a symbol effect is animating.
Example
// bounce a symbol every 2 seconds (macOS 15 or newer)
Var imageView As New NSImageViewMBS(20, 20, 64, 64)
imageView.image = NSImageMBS.imageWithSystemSymbolName("envelope.fill", "Symbol")
Self.NSWindowMBS.contentView.addSubview imageView

Var behavior As NSSymbolEffectOptionsRepeatBehaviorMBS = NSSymbolEffectOptionsRepeatBehaviorMBS.behaviorPeriodicWithDelay(2.0)
imageView.addSymbolEffect(NSSymbolBounceEffectMBS.bounceUpEffect, NSSymbolEffectOptionsMBS.optionsWithRepeatBehavior(behavior))

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

This class has no subclasses.

Blog Entries

Release notes

Some methods using this class:

Some related classes:


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


NSSymbolEffectOptionsMBS   -   NSSymbolMagicReplaceContentTransitionMBS


The biggest plugin in space...