Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NewCFObjectMBSFromXMLMT(data as string) as CFObjectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method CoreFoundation MBS MacCF Plugin 11.3 Yes Yes Yes Yes No
Function: Parses the XML data and returns a CFObject.
Notes:
Same as NewCFObjectMBSFromXML, but with additional multithreading.
Must be called inside a Xojo (Real Studio) thread so time yields to main thread and you can keep the GUI running.

Note that the CFObject returned is in most times a CFDictionary or a CFArray.
This function takes text and binary plist file content.

See also:

Feedback, Comments & Corrections

NewCFObjectMBSFromXMLMT(file as folderitem) as CFObjectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method CoreFoundation MBS MacCF Plugin 11.3 Yes Yes Yes Yes No
Function: Parses the XML data and returns a CFObject.
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("test.xml")
dim o as CFObjectMBS = NewCFObjectMBSFromXMLMT(f)

if o = nil then
MsgBox "Error"
else
MsgBox "OK"
end if
Notes:
Same as NewCFObjectMBSFromXML, but with additional multithreading.
Must be called inside a Xojo (Real Studio) thread so time yields to main thread and you can keep the GUI running.
Reading the file is done on the workthread.

Note that the CFObject returned is in most times a CFDictionary or a CFArray.
This function takes text and binary plist file content.

See also:

Feedback, Comments & Corrections

NewCFObjectMBSFromXMLMT(XMLdata as CFBinaryDataMBS) as CFObjectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method CoreFoundation MBS MacCF Plugin 11.3 Yes Yes Yes Yes No
Function: Parses the XML data and returns a CFObject.
Notes:
Note that the CFObject returned is in most times a CFDictionary or a CFArray.
This function takes text and binary plist file content.

See also:

Feedback, Comments & Corrections

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




Links
MBS FileMaker tutorial videos