Package-level declarations
Types
Interface with the available methods to manage injections
Wrapper for Injector to be used from the JS (pure js)
Wrapper for Injector to be used from the JVM (pure java)
Interface with the available methods to manage injections
Wrapper for Injector to be used from the ObjectiveC (pure objc)
Compatibility class to use PopKorn from java code Use it like PopKornCompat.inject(class)
Methods/Classes used in library that are Platform-dependent
Implementation for Native of the methods/classes that are Platform-dependent
Functions
Methods to inject nullable instances anywhere like injectOrNull
Method to obtain the default injector currently being used
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
Secondary method to initialize popkorn from IOS in case the first doesn't work
This method needs to be called on JS platform before using PopKorn. This is because in js cannot automatically locate the mapping files