Platforms to show: All Mac Windows Linux Cross-Platform

NSBundleMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa MBS MacBase Plugin 9.8 Yes No No Yes, macOS only No
Function: An NSBundle object represents a location in the file system that groups code and resources that can be used in a program.
MsgBox NSBundleMBS.mainBundle.bundlePath
NSBundle objects locate program resources, dynamically load and unload executable code, and assist in localization. You build a bundle in Xcode using one of these project types: Application, Framework, plug-ins.
Although bundle structures vary depending on the target platform and the type of bundle you are building, the NSBundle class hides this underlying structure in most (but not all) cases. Many of the methods you use to load resources from a bundle automatically locate the appropriate starting directory and look for resources in known places.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some examples which use this class:

Blog Entries

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

NSBoxMBS   -   NSButtonCellMBS

The biggest plugin in space...

MBS Xojo Plugins