CLASS

# RubensMOCView

Contents

  • Properties
    • versionNumberString
  • Methods
    • init()
    • attachTo(view:)
    • loadPlan(_:)
    • createNewPlan()
    • saveCurrentPlan()
    • deinit

View that displays the Roomle Rubens Multi-Object-Configurator (MOC)

# Properties

# versionNumberString

Returns the version number string of the framework.

# Methods

# init()

Initialiser for the Roomle Rubens Multi-Object-Configurator view.

# attachTo(view:)

Adds the RubensMOCView as a subview to the provided view.

The MOC view will be added on top of already existing subviews.

  • Parameter parentView: The view to which the MOC will be attached to as subview.

# loadPlan(_:)

Tells the MOC to load a plan specified by the plan ID.

Examples:

Plan ID:

frkptsi08neomufa7z2mxhu51w6zu30
  • Parameter planId: An ID of a Roomle Plan.

# createNewPlan()

Creates a new, empty plan.

# saveCurrentPlan()

Saves the current plan to the server.

  • Returns: A RoomlePlan object.

# deinit