Platforms to show: All Mac Windows Linux Cross-Platform

Back to CADisplayLinkMBS class.

CADisplayLinkMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacCocoa Plugin 26.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a display link for a target that calls its selector.

See also:

CADisplayLinkMBS.Constructor(target as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacCocoa Plugin 26.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a display link timer based on the given target.

The target on iOS may be

  • nil
  • MobileControl
  • MobileScreen
  • iOSControl
  • iOSScreen
  • NSScreenMBS object for the screen

The target on macOS may be:

Raises an exception if called with wrong

See also:

CADisplayLinkMBS.invalidate

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacCocoa Plugin 26.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Removes the display link from all run loop modes.

This method is thread safe, so you can call it from a thread separate to the one in which the display link runs.

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


The biggest plugin in space...