Platforms to show: All Mac Windows Linux Cross-Platform
CFDictionaryMBS class
Super class: CFObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the release property is true, the destructor of this class will release the dictionary reference.
This class works on Windows with QuickTime 7 installed.
Subclass of the CFObjectMBS class.
- property Count as Integer
- 13 methods
- method clone as CFDictionaryMBS
- method Constructor
- method Constructor(dic as dictionary)
- method ContainsKey(value as CFObjectMBS) as boolean
- method ContainsValue(value as CFObjectMBS) as boolean
- method CountKey(value as CFObjectMBS) as Integer
- method CountValue(value as CFObjectMBS) as Integer
- method Dictionary as Dictionary
- method edit as CFMutableDictionaryMBS
- method list as CFDictionaryListMBS
- method Value(key as CFObjectMBS) as CFObjectMBS
- method writeToFile(file as folderitem, useAuxiliaryFile as boolean) as boolean
- method writeToURL(url as string, atomically as boolean) as boolean
- 9 shared methods
- shared method CGPointFromDictionary(dic as CFDictionaryMBS) as variant
- shared method CGRectFromDictionary(dic as CFDictionaryMBS) as variant
- shared method CGSizeFromDictionary(dic as CFDictionaryMBS) as variant
- shared method dictionaryWithCGPoint(point as variant) as CFDictionaryMBS
- shared method dictionaryWithCGRect(rect as variant) as CFDictionaryMBS
- shared method dictionaryWithCGSize(size as variant) as CFDictionaryMBS
- shared method dictionaryWithContentsOfFile(file as folderitem) as CFDictionaryMBS
- shared method dictionaryWithContentsOfURL(URL as string) as CFDictionaryMBS
- shared method dictionaryWithHandle(Handle as Integer) as CFDictionaryMBS
Super class CFObjectMBS
- 5 properties
- property Handle as Integer
- property Hash as Integer
- property Lasterror as Integer
- property Type as Integer
- property TypeDescription as String
- 9 methods
- method close
- method DeepCopy as CFObjectMBS
- method EncodedData as MemoryBlock
- method Equal(o as CFObjectMBS) as boolean
- method ReleaseObject
- method RetainCount as Integer
- method RetainObject
- method XML as CFBinaryDataMBS
- method XMLdata as String
- shared method NewCFObject(handle as Integer) as CFObjectMBS
Sub classes:
Blog Entries
- MBS Xojo Plugins, version 20.5pr2
- MBS Xojo Plugins, version 19.1pr1
- MBS Xojo / Real Studio Plugins, version 16.4pr4
- MBS Real Studio Plugins, version 13.0pr1
- MBS Real Studio Plugins, version 12.1pr10
- MBS Plugins 11.1 Release notes
- MBS Real Studio Plugins, version 11.1pr8
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr13
Release notes
- Version 20.5
- Added code to detect if variant is unsigned, so we can handle UInt32/UInt64 correctly in BigNumberMBS, JavaScriptEngineMBS, SQLPreparedStatementMBS and SQLCommandMBS, SQLValueMBS, and JSONMBS classes and in CFDictionaryMBS/NSDictionary conversion.
- Version 19.1
- Added CFDictionaryMBS methods for CGRect/CGPoint/CGSize to/from dictionary.
Some useful global functions for this class:
- MacShowAboutBoxMBS(options as CFDictionaryMBS) as Integer
Some methods using this class:
- CFAttributedStringMBS.Create(str as CFStringMBS, attributeDictionary as CFDictionaryMBS = nil) as CFAttributedStringMBS
- CFBundleMBS.GetInfoDictionary as CFDictionaryMBS
- CFHTTPMessageMBS.HeaderFields as CFDictionaryMBS
- CFMutableAttributedStringMBS.Constructor(str as CFStringMBS, attributeDictionary as CFDictionaryMBS = nil)
- CFMutableAttributedStringMBS.SetAttributes(Range as CFRangeMBS, replacements as CFDictionaryMBS, clearOtherAttributes as boolean)
- CFPreferencesMBS.SetMultiple(KeysToSet as CFDictionaryMBS, KeysToRemove as CFArrayMBS, ApplicationID as CFStringMBS, userName as CFStringMBS, hostName as CFStringMBS)
- IOPowerSourcesMBS.Item(index as Integer) as CFDictionaryMBS
- IORegistryNodeMBS.CFProperties as CFDictionaryMBS
- NotificationCenterMBS.Post(name as CFStringMBS, obj as CFObjectMBS, userinfo as CFDictionaryMBS, deliverImmediately as Boolean)
- SCPreferencesMBS.GetPathValue(path as CFStringMBS) as CFDictionaryMBS
Some events using this class:
- NotificationCenterMBS.Received(name as CFStringMBS, obj as CFObjectMBS, userinfo as CFDictionaryMBS)
Some examples using this class:
- /MacCF/CFBundle example
- /MacCF/Darwin Drive Statistics
- /MacCF/Dock Items
- /MacCF/IOPowerSources
- /MacCF/MacOSXProxySettings
- /MacCF/MIDI/MIDI Devices
- /MacCF/Plist Parsing
- /MacCG/CoreImage/Filter List
- /MacCG/CoreText/CoreText Dynamic Text Height
- /MacExtras/Sparkle/UpdaterKit/Updater Example
Some related classes:
- class CFArrayMBS
- class CFBinaryDataMBS
- class CFDictionaryListMBS
- class CFHTTPMessageMBS
- class CGRectMBS
- class JSONMBS
- class NotificationCenterMBS
- class SCPreferencesMBS
- class SQLCommandMBS
- class SQLValueMBS
The items on this page are in the following plugins: MBS MacCF Plugin.
CFDictionaryListMBS - CFErrorMBS
