Platforms to show: All Mac Windows Linux Cross-Platform

NSSymbolDisappearEffectMBS 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 Disappear animation to symbol images.
Example
// let a symbol disappear with an animation (macOS 14 or newer)
Var imageView As New NSImageViewMBS(20, 20, 64, 64)
imageView.image = NSImageMBS.imageWithSystemSymbolName("trash.fill", "Symbol")
Self.NSWindowMBS.contentView.addSubview imageView

Var effect As NSSymbolDisappearEffectMBS = NSSymbolDisappearEffectMBS.disappearDownEffect
imageView.addSymbolEffect(effect)
// show it again with NSSymbolAppearEffectMBS

The Disappear animation makes the symbol visible either as a whole, or one motion group at a time.

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.

Some related classes:


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


NSSymbolContentTransitionMBS   -   NSSymbolDrawOffEffectMBS


The biggest plugin in space...