Working with nibs - Button
1. Launch Xcode2. Choose File > New > File… (⌘N)
3. At the top of the choose template sheet...
b) under 'User Interface', select "Window"
c) click "Next" button
4. Click "Create" button to save the xib file as "Window"
5. Choose View > Libraries > Show Library (⇧⌘L)
6. Drag a Push Button from the Objects panel to the window
7. With the button still selected, click on the Attributes Inspector Icon at the top right, scroll down to View and enter '1' in the 'Tag' field
8. Save the changes
9. In FutureBasic, create a new file and paste the following code
10. Save the FB file to the same folder as the nib and run it