Package org.robovm.compiler.plugin.objc
Class InterfaceBuilderClassesPlugin
java.lang.Object
org.robovm.compiler.plugin.Plugin
org.robovm.compiler.plugin.CompilerPlugin
org.robovm.compiler.plugin.AbstractCompilerPlugin
org.robovm.compiler.plugin.objc.InterfaceBuilderClassesPlugin
public class InterfaceBuilderClassesPlugin extends AbstractCompilerPlugin
CompilerPlugin which forces view controllers and views referenced by
Storyboards and XIB files in resource folders to be linked into the
executable. Also embeds a list of such classes into the executable which can
later be pre-registered in UIApplication.main(...) when the app is
launched.-
Constructor Summary
Constructors Constructor Description InterfaceBuilderClassesPlugin() -
Method Summary
Modifier and Type Method Description voidbeforeConfig(Config.Builder builder, Config config)Called before theConfigfor a compilation is built.voidbeforeLinker(Config config, Linker linker, Set<Clazz> classes)Called just beforeLinkeris invoked.Methods inherited from class org.robovm.compiler.plugin.AbstractCompilerPlugin
afterClass, afterClassDependenciesResolved, afterLinker, afterMethod, afterObjectFile, beforeClass, beforeMethod, getArguments, helloClassMethods inherited from class org.robovm.compiler.plugin.Plugin
argumentValue, argumentValue, argumentValue, parseArguments
-
Constructor Details
-
InterfaceBuilderClassesPlugin
public InterfaceBuilderClassesPlugin()
-
-
Method Details
-
beforeConfig
Description copied from class:CompilerPluginCalled before theConfigfor a compilation is built. Allows the plugin to modify the compiler configuration. NOTE: Some properties of the passedConfigmay not have been set at the time of the call to this method.- Overrides:
beforeConfigin classAbstractCompilerPlugin- Parameters:
builder- theConfig.Builderconfig- the not yet builtConfig. Can be used to get configuration set on theConfig.Builderso far.- Throws:
IOException
-
beforeLinker
Description copied from class:CompilerPluginCalled just beforeLinkeris invoked.- Overrides:
beforeLinkerin classAbstractCompilerPlugin- Parameters:
config- the currentConfiglinker- theLinkerinstance.classes- the classes that will be linked.- Throws:
IOException
-