Platforms to show: All Mac Windows Linux Cross-Platform
Back to CFDictionaryMBS class.
CFDictionaryMBS.CGPointFromDictionary(dic as CFDictionaryMBS) as variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Make a CGPointMBS from the contents of dict (presumably returned earlier from CFDictionaryMBS.dictionaryWithCGPoint) and returns the value in point. Returns object on success; nil otherwise.
CFDictionaryMBS.CGRectFromDictionary(dic as CFDictionaryMBS) as variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Make a CGRect from the contents of dict (presumably returned earlier from CFDictionaryMBS.dictionaryWithCGRect) and returns the value in point. Returns object on success; nil otherwise.
CFDictionaryMBS.CGSizeFromDictionary(dic as CFDictionaryMBS) as variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Make a CGSize from the contents of dict (presumably returned earlier from CFDictionaryMBS.dictionaryWithCGSize) and returns the value in point. Returns object on success; nil otherwise.
CFDictionaryMBS.dictionaryWithCGPoint(point as variant) as CFDictionaryMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Rect must be a CGPointMBS object or nil.
Returns dictionary or nil.
CFDictionaryMBS.dictionaryWithCGRect(rect as variant) as CFDictionaryMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Rect must be a CGRectMBS object or nil.
Returns dictionary or nil.
CFDictionaryMBS.dictionaryWithCGSize(size as variant) as CFDictionaryMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Rect must be a CGSizeMBS object or nil.
Returns dictionary or nil.
CFDictionaryMBS.dictionaryWithContentsOfFile(file as folderitem) as CFDictionaryMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 10.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
path: A full or relative pathname. The file identified by path must contain a string representation of a property list whose root object is a dictionary. The dictionary must contain only property list objects (instances of NSData, NSDate, NSNumber, NSString, NSArray, or NSDictionary).
Returns a new dictionary that contains the dictionary at path, or nil if there is a file error or if the contents of the file are an invalid representation of a dictionary.
CFDictionaryMBS.dictionaryWithContentsOfURL(URL as string) as CFDictionaryMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 10.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
URL: An URL that identifies a resource containing a string representation of a property list whose root object is a dictionary. The dictionary must contain only property list objects (instances of NSData, NSDate, NSNumber, NSString, NSArray, or NSDictionary).
Returns a new dictionary that contains the dictionary at aURL, or nil if there is an error or if the contents of the resource are an invalid representation of a dictionary.
CFDictionaryMBS.dictionaryWithHandle(Handle as Integer) as CFDictionaryMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation | MBS MacCF Plugin | 16.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Will retain the reference.
The items on this page are in the following plugins: MBS MacCF Plugin.