Platforms to show: All Mac Windows Linux Cross-Platform

NSSymbolBreatheEffectMBS 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 Breathe animation to symbol images.
Example
// let a heart symbol pulse continuously (macOS 15 or newer)
Var imageView As New NSImageViewMBS(20, 20, 64, 64)
imageView.image = NSImageMBS.imageWithSystemSymbolName("heart.fill", "Symbol")
Self.NSWindowMBS.contentView.addSubview imageView

Var effect As NSSymbolBreatheEffectMBS = NSSymbolBreatheEffectMBS.breathePulseEffect
imageView.addSymbolEffect(effect, NSSymbolEffectOptionsMBS.optionsWithRepeating)
// stop it later with imageView.removeSymbolEffectOfType(effect)

The Breathe animation smoothly scales a symbol up and down.

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.


NSSymbolBounceEffectMBS   -   NSSymbolContentTransitionMBS


The biggest plugin in space...