Compiles the receiver, if it is not already compiled.
SDKs
- macOS 10.2+
- Mac Catalyst 13.0+
Framework
- Foundation
Declaration
func compileAndReturnError(_ errorInfo: Autoreleasing Unsafe Mutable Pointer<NSDictionary?>?) -> Bool
Parameters
errorInfo
On return, if an error occurs, a pointer to an error information dictionary.
Return Value
true
for success or if the script was already compiled, false
otherwise.