Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSAutoreleasePoolMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa MBS Main Plugin 8.5 Yes No No Yes, macOS only No
Function: The class for memory management in Cocoa.
Example:
dim pool as NSAutoreleasePoolMBS

sub MyThread.Run
pool=new NSAutoreleasePoolMBS
// do work
end sub
Notes: If you use threads, you need to create a NSAutoreleasePoolMBS on the start to have correct Cocoa memory manager.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


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


NSAttributedStringMBS   -   NSBezierPathMBS




Links
MBS Xojo Plugins