[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
[coco8] U8InspectorViewController
A mobile version of a classic Smalltalk inspector (using an object/selector metaphor) that shows the details of an instance.
You can open it
- by sending the message #inspect to an object
![Uploaded Image: inspector1.png](/U8/uploads/326/inspector1.png)
- by action inspectIt (Action Menu in every code pane) when selecting any expression.
![Uploaded Image: Inspector2.png](/U8/uploads/326/Inspector2.png)
- by open an Inspector on an Object (S8 Object or javaScript object)
U8InspectorViewController openOn: anObject
Inspector look
![Uploaded Image: inspector3.png](/U8/uploads/326/inspector3.png)
- Tapping a field, a new inspector will be opened on the field object
![Uploaded Image: inspector5.png](/U8/uploads/326/inspector5.png)
Tapping a Field with a LongPress gesture, shows its contents in a Workspace
![Uploaded Image: inspector6.png](/U8/uploads/326/inspector6.png)
Action Menu
There is an Action Menu tapping the icon at top-right
![Uploaded Image: actionMenu2.png](/U8/uploads/326/actionMenu2.png)
Action Menu Options
Open a workspace with the inspectedObject as the evaluationContext
Open a U8ClassBrowser on the class of the inspectedObject
Save the inspectedObject in a a Global (Prompt the user tu get the name of the global)
![Uploaded Image: Global.png](/U8/uploads/326/Global.png)
Open this page in the device default web browser
[Todo] Nice to have