Platforms to show: All Mac Windows Linux Cross-Platform

NSSymbolBounceEffectMBS 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 Bounce animation to symbol images.
Example
// show an SF Symbol in an image view and let it bounce twice (macOS 14 or newer)
Var imageView As New NSImageViewMBS(20, 20, 64, 64)
imageView.image = NSImageMBS.imageWithSystemSymbolName("bell.fill", "Bell")
Self.NSWindowMBS.contentView.addSubview imageView

Var effect As NSSymbolBounceEffectMBS = NSSymbolBounceEffectMBS.bounceUpEffect
imageView.addSymbolEffect(effect, NSSymbolEffectOptionsMBS.optionsWithRepeatCount(2))

The Bounce animation applies a transitory scaling effect to the symbol.

Requires macOS 14.0, iOS 17.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.

Blog Entries

Some related classes:


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


NSSymbolAutomaticContentTransitionMBS   -   NSSymbolBreatheEffectMBS


The biggest plugin in space...