ExtensionThe LemurClient provides serveral methods you can use the build user interfaces on the Lemur iOS app without the need of the Lemur Editor.
Note: The ID's should be provided as alfanumeric. Like: slider1 ,slider2, range2 etc..

Make a new LemurClient.
A new instance.
A boolean to enable and disable tracing to the console of the XML editor messages that are sent to Lemur.
Creates or gets a LemurConnection for a remoteIP.
| remoteIP |
The IP address of the device that runs Lemur. |
Resets and removes all pages and widgets Lemur.
Sets the OSC target where Lemur can send OSC message to.
| targetId |
OSC target slot (int) (see properties in the app). |
| targetIP |
The IP of the device where SuperCollider is running on. |
| targetPort |
For example the SCLang port. |
Select a page by pagename.
| pagename |
Add a page. The Lemur Editor calls this an interface, I am going to rename this in the future or provide an overload.
| pagename |
(optional) |
| x |
(optional) |
| y |
(optional) |
| width |
(optional) |
| height |
(optional) |
| newname | |
| oldname |
Remove a page containing widgets.
| pagename |
(optional) |
Create or update a fader.
| pagename |
(optional) |
| id | |
| x |
(optional) |
| y |
(optional) |
| width |
(optional) |
| height |
(optional) |
| color |
A Color instance (optional) |
| pagename |
(optional) |
| id |
Add or update a matrix of switches.
| pagename |
(optional) |
| id |
(optional) |
| x |
(optional) |
| y |
(optional) |
| width |
(optional) |
| height |
(optional) |
| columnSize |
(optional) |
| rowSize |
(optional) |
Remove a matrix of switches
| pagename |
(optional) |
| id |
(optional) |
Add or update a matrix of pads.
| pagename |
(optional) |
| id |
(optional) |
| x |
(optional) |
| y |
(optional) |
| width |
(optional) |
| height |
(optional) |
| columnSize |
(optional) |
| rowSize |
(optional) |
(describe method here)
| pagename |
(optional) |
| id |
(optional) |
Add or update a range slider
| pagename |
(optional) |
| id |
(optional) |
| x |
(optional) |
| y |
(optional) |
| width |
(optional) |
| height |
(optional) |
| color |
(optional) |
Remove a range slider.
| pagename |
(optional) |
| id |
(optional) |
Add or update a text widget.
| pagename |
(optional) |
| id |
(optional) |
| content |
(optional) |
| x |
(optional) |
| y |
(optional) |
| width |
(optional) |
| height |
(optional) |
| color |
(optional) |
Removes a text widget.
| pagename |
(optional) |
| id |
(optional) |