Platforms to show: All Mac Windows Linux Cross-Platform

NSBundleMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa MBS MacBase Plugin 9.8 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: An NSBundle object represents a location in the file system that groups code and resources that can be used in a program.
Example:
MsgBox NSBundleMBS.mainBundle.bundlePath
Notes:
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

Architectures

Constant Value Description
NSBundleExecutableArchitectureARM64 &h0100000c Specifies the 64-bit ARM architecture.
NSBundleExecutableArchitectureI386 7 Specifies the 32-bit Intel architecture.
Available in Mac OS X v10.5 and later.
NSBundleExecutableArchitecturePPC &h12 Specifies the 32-bit PowerPC architecture.
Available in Mac OS X v10.5 and later.
NSBundleExecutableArchitecturePPC64 &h01000012 Specifies the 64-bit PowerPC architecture.
Available in Mac OS X v10.5 and later.
NSBundleExecutableArchitectureX86_64 &h01000007 Specifies the 64-bit Intel architecture.
Available in Mac OS X v10.5 and later.

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries


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


NSBoxMBS   -   NSButtonCellMBS

The biggest plugin in space...




Links
MBS FileMaker blog

Start Chat