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

[coco8] Application startup

coco8 is a normal iOS Application, all the application code and interfaces to ObjectiveC components are implemented in S8 Smalltalk.

coco8 implements a standard application with tabs. The application startup can be customized by the user.
The application implement a download server, that let the user upload/change/remove files to/from application (Documents) folder.

The application can access any ObjectiveC (and C) component/structure at any level and implement/add dynamically subclases of any class in the system. All the code and methods implemented in S8.

At startup the application load an image, create ObjectiveC classes, to render application's widgets dynamically from internal and/or external resources.

The startup mechanism is simple: load an image file stored as an application resource.
The default image contains U8 tools to edit/browse system contents.

The user can upload a custom image file (to Documents folder) and the system will start from that custom image. The custom image can be "default.snapshot.js" or "u8.snapshot.js"; if present in application's documents folder, it will be used to boot the coco8 system.

The coco8 application embedds a default U8 image with U8 tools and U8Configuration framework.

Note 1If the image to boot has issues (execution exceptions) while loading, the system will not start (black screen and crash). In this case, the coco8 App must be uninstalled to remove the broken image.
Note 2Actually (Oct2014) the Configuration framework is used to fill the initial ítems in the Apps page. The images defined in default configuration are listed and can be executed by the user.