setup
This method needs to be called on IOS platform before using PopKorn. This is because from Kotlin cannot instantiate a class with "class_createInstance(ObjCClass, 0) as? Mapping". So we need the ios to provide a lambda of how to create an object
Parameters
creator
Lambda defining how to create a certain ObjCClass