It is not expected that the user change the main file; because we only boot an image containing ALL the code to define and start the S8 system. |
Consider that any code you implement in main, or at ObjectiveC level, can be implemented at smalltalk level with S8, so ensure you need to edit the low level code before writing objetive C. |
Note: | Each user can change/update the installed Coco8 application in his/her device without requiring Apple tools to change the system. |
Note: | The Coco8 application implements a "server in the phone" feature. The user can download/upload files (& folders) to the application, and that files are instantly accessible (read/write) for the application. SO, the user can upload image files to the Coco8 application and change any aspect of the system at the next time the Coco8 application is started. After the Upload server is started, it will be active only while the application is running foreground. It do not work while the user is using other applications. |
if ([c loadJS:@"default.snapshot.js"]) { [c loadJS:@"default.image.js"]; [c loadJS:@"default.app.js"]; }
Note: | The contents and behavior of the system is under the hands and responsibility of the user. The user can leave the application at a broken state (e.g. removed the method for system startup), and at that point and it can be required to delete and install the application again, to revert to a stable state, loosing all the files uploaded to the system. |
[c loadJS:@"default.app.js"];