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

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.
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
Notes:
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:


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


CFBooleanMBS   -   CFCharacterSetMBS




Links
MBS FileMaker Plugins