The function
ensure-objc-initialized
must be called before any other functions in the
objc
package to initialize the Objective-C system. It is safe to use the defining macros such as define-objc-class and define-objc-method before calling
ensure-objc-initialized
.
The
modules
argument can be a list of strings specifying foreign modules to load. Typically, this needs to be the paths to the Cocoa
.dylib
files to make Objective-C work. See
fli:register-module
.