Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFBundleMBS class.

CFBundleMBS.kCFBundleDevelopmentRegionKey as CFStringMBS

Type Topic Plugin macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the dictionaries.

Returns nil on any error.

Some examples using this method:

CFBundleMBS.kCFBundleDisplayNameKey as CFStringMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin 17.3 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the dictionaries.

Display name of the bundle. Can be localized.
Returns nil on any error.

CFBundleMBS.kCFBundleExecutableKey as CFStringMBS

Type Topic Plugin macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the dictionaries.

Returns nil on any error.

Some examples using this method:

CFBundleMBS.kCFBundleIdentifierKey as CFStringMBS

Type Topic Plugin macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the dictionaries.
Example
// Find the bundle id for Mail.app

Var f as FolderItem
Var b as CFBundleMBS
Var u as CFURLMBS
Var s as string
Var o as CFObjectMBS

f=ApplicationsFolderMBS(-32766).Child("Mail.app")
u=NewCFURLMBSFile(f)
b=CreateBundleMBS(u)
o=b.GetValueForInfoDictionaryKey(b.kCFBundleIdentifierKey)

if o isa CFStringMBS then
s=cfstringmbs(o).str
end if

msgbox s

Returns nil on any error.

Some examples using this method:

CFBundleMBS.kCFBundleInfoDictionaryVersionKey as CFStringMBS

Type Topic Plugin macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the dictionaries.

Returns nil on any error.

Some examples using this method:

CFBundleMBS.kCFBundleNameKey as CFStringMBS

Type Topic Plugin macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the dictionaries.

Returns nil on any error.

Some examples using this method:

CFBundleMBS.kCFBundleVersionKey as CFStringMBS

Type Topic Plugin macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the dictionaries.

Returns nil on any error.

Some examples using this method:

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


The biggest plugin in space...