Platforms to show: All Mac Windows Linux Cross-Platform

CFBundleMBS class

Super class: CFObjectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
A class for a core foundation bundle.
Example
// get FolderItem
dim f as FolderItem = SpecialFolder.Applications.Child("Safari.app")

// make bundle
dim b as CFBundleMBS = CreateBundleMBS(f)

// make a key
dim k as CFStringMBS = NewCFStringMBS("CFBundleShortVersionString")

// lookup the value
dim i as CFObjectMBS = b.GetValueForInfoDictionaryKey(k)

// it's a string, so show it
dim s as CFStringMBS = CFStringMBS(i)
MsgBox s.str

If the release property is true, the destructor of this class will release the boolean reference.
Subclass of the CFObjectMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Super class CFObjectMBS

This class has no sub classes.

Some useful global functions for this class:

Some methods using this class:

Some examples using this class:

Blog Entries

Release notes

  • Version 17.3

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


CFBooleanMBS   -   CFCharacterSetMBS


The biggest plugin in space...