Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

CoreML.Available

Whether CoreML is available.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CoreML 7.4 Yes No Yes, macOS only No Yes

MBS( "CoreML.Available" )

Parameters

none

Result

Returns 1, 0 or error.

Description

Whether CoreML is available.
Should return 1 on macOS 10.13 or newer or 0 on other versions.

Examples

Check availability:

If [ MBS("CoreML.Available") ≠ 1 ]
    Show Custom Dialog [ "Core ML not available" ; "Please run on macOS 10.13 High Sierra" ]
    Exit Script [ Text Result: "" ]
End If

Example Databases


CoreML.AddUndefinedParameter   -   CoreML.Clear

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins