Migrating from Junaio Plugin 1.0 to 3.1

The interface in Junaio Plugin 3.1 has changed a little, therefore an upgrade from Junaio Plugin 1.0 requires a few actions.

The main difference between Junaio Plugin 1.0 and 3.1 is:

  • In Junaio Plugin 1.0 the actual AR view ( ExampleAppLiveViewController) was pushed by a 3rd UIViewcontroller ( JunaioPluginViewController), in Junaio Plugin 3.1 the UIViewController that is pushed ( ARViewController) is a subclass of JunaioPluginViewController.

To migrate from Junaio Plugin V1.0 to 3.1, please perform the following steps:

  • Overwrite the following folders of V1.0 with the respective ones from V3.1
    • JunaioPlugin/externalFrameworks
    • JunaioPlugin/JunaioPlugin.framework
    • JunaioPlugin/Resources
  • Import the ARViewController class from V3.1 into your project. This will replace the ExampleAppLiveViewController of V1.0
    • All custom extensions of the ExampleAppLiveViewController should be moved to ARViewController. Alternatively you can make your ExampleAppLiveViewController a subclass of JunaioPluginViewController <!JunaioPluginDelegate>.
  • Adjust the details of the implementation of the JunaioPluginDelegate Protocol in the ARViewController with the information that was defined in the ExampleApplicationViewController of V1.0
  • Adjust the code segment where you launch the plugin to push the ARViewController. Note: the delegate does not have to be set anymore, as the ARViewcontroller already implements the JunaioPluginDelegate protocol.

Note: The method "- (LiveViewInterfaceController* ) getLiveViewController" is not needed anymore

-- SupportMetaio - 2011-10-27

Topic revision: r3 - 2011-10-27 - 11:58:07 - SupportMetaio
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback