Graph IDE ► Custom Application ► HitButton
This section describes how to write a custom application called HitButton. The user interface is shown below.
Placing the cursor over the cosine curve shows a popover. Placing the cursor over the circle send a log line to the Xcode output pane. Clicking the circle turns its color red.
The fastest way to write a custom application is to download the HitButton example project, compile it and modify it for your needs. HitButton resources are available from these links:
Link | Description Of Resource |
HitButton.zip | The compressed HitButton project located on your disk within this manual. |
HitButton.zip | The compressed HitButton project located at the vvidget.org web site. |
Xcode | The Xcode application on the Mac App Store. |
The graph and white portion in the figure above is a Graphic View that was pre-programmed using the Programming facilities of Graph IDE. The Execute button and Animate switch are programmed in the custom application.
Notes are contained in the HitButton Xcode project. Instead of adding a lot of verbiage in this section which is pretty dry and hard to follow, notes have been incorporated into the HitButton Xcode project. See that project (see the references above) for further explanation.