[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

mobile[app] 05 - U8 Tools clone

Description

The U8 tools (like native Coco8 implementation) implemented using Mobile Framework.

How to run this tool?

  1. Open the U8 environment with media tools
  2. Evaluate the following expression (showIt/doIt) in a workspace
    SwikiCodeRobot @> 'swiki:s8-media/142'
NoteYou can open the tool opening this link in a new tab
(be patient can take some seconds to open the tools)

How we built this tool?

This tool is built using Coco8 implementation as source to clone.

Implementation

"Ensure Mobile framework is loaded and verify we are running in a supported platform"
(SwikiCodeRobot @ #mobile) process: #s8-media tagged: #core.


"Creating the model for tools"


"Compiling spec and open the UI"
| spec tab |
tab := (
     (#tool -> #sample),
     (#coordinator -> (
        (#class -> #MobileEditor),
        (#configuration -> (
            (#title -> 'U8 Tools clone')
            )
        )
      ))
 ).
spec := (
 (#threads -> ((1 -> tab)) ),
 (#listeners -> (#needsModel -> [ #none ]))
) json.
MobileApplication open: spec.