Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

CoreML.Available

Whether CoreML is available.

Component Version macOS Windows Linux Server FileMaker iOS SDK
CoreML 7.4 Yes No No Yes, macOS only Yes
MBS( "CoreML.Available" )   More

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

Created 16th September 2017, last changed 16th September 2017


CoreML.AddUndefinedParameter   -   CoreML.Clear

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat