Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CFBundleMBS class

Super class: CFObjectMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: A class for a core foundation bundle.
// 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.

Feedback, Comments & Corrections

Super class CFObjectMBS

This class has no sub classes.

Some useful global functions for this class:

Some methods using this class:

Some examples which use this class:

Blog Entries

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

CFBooleanMBS   -   CFCharacterSetMBS

The biggest plugin in space...

MBS Xojo PDF Plugins