Platforms to show: All Mac Windows Linux Cross-Platform

NSSymbolReplaceContentTransitionMBS class

Superclass: NSSymbolContentTransitionMBS

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 animates the replacement of one symbol image with another.
Example
// switch a play symbol to a pause symbol with an animation (macOS 14 or newer)
Var imageView As New NSImageViewMBS(20, 20, 64, 64)
imageView.image = NSImageMBS.imageWithSystemSymbolName("play.fill", "Symbol")
Self.NSWindowMBS.contentView.addSubview imageView

Var transition As NSSymbolReplaceContentTransitionMBS = NSSymbolReplaceContentTransitionMBS.replaceDownUpTransition
imageView.setSymbolImage(NSImageMBS.imageWithSystemSymbolName("pause.fill", "Pause"), transition)

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

Superclass NSSymbolContentTransitionMBS

This class has no subclasses.

Some related classes:


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


NSSymbolPulseEffectMBS   -   NSSymbolRotateEffectMBS


The biggest plugin in space...