3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Controlling an Arduino with Cocoa (Mac OS X) or C# (Windows)

Step 3Designing the GUI (Graphic User Interface)

Designing the GUI (Graphic User Interface)
«
  • Picture 15.png
  • Picture 16.png
  • Picture 17.png
  • Picture 24.png
  • Picture 18.png
  • Picture 20.png
  • Picture 21.png
  • Picture 22.png
  • Picture 25.png
  • Picture 26.png
  • Picture 28.png
  • last photo ←
»
If you have questions please ask them!

Creating the interface:
1) With interface builder open, find the buttons. Pick a style you like & drag 2 of them over to the window
2) Double click on them to rename one "On" & the other "Off"
3) Resize the window if you want
4) In the library find the thing that looks like a blue cube (NSObject) & drag it to the window with the list of files
5) Click on the object you just added to the window
6) Press 'Command + 6' to open the Identity Inspector
7) Under the section 'Class' type MainController
8) Press 'Command + 5' to open the Connections Inspector
9) Click & drag the little circle to each of the respective buttons. (e.g. ledOn to the On button)
10) Save & close Interface builder
11) Press "Build & Go" In Xcode to run the cocoa app
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
43
Followers
15
Author:computergeek