5 Easy Steps To Your First RubyCocoa Application: Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
Line 8: Line 8:


== Step 01: Creating the project ==
== Step 01: Creating the project ==
[[Image:RubyCocoaTutorialStep1CreatingTheProject01.png]]<br>Click ''Create a new XCode project''...<br>
# [[Image:RubyCocoaTutorialStep1CreatingTheProject01.png]]<br>Click ''Create a new XCode project''...<br>
[[Image:RubyCocoaTutorialStep1CreatingTheProject02.png]]<br>...choose ''Application'' on the left and ''Cocoa Application'' on the right and click ''Choose...''...
# [[Image:RubyCocoaTutorialStep1CreatingTheProject02.png]]<br>...choose ''Application'' on the left and ''Cocoa Application'' on the right and click ''Choose...''...
[[Image:RubyCocoaTutorialStep1CreatingTheProject03.png]]<br>...choose a cozy place to save your project...
# [[Image:RubyCocoaTutorialStep1CreatingTheProject03.png]]<br>...choose a cozy place and a name for your project, I named it ''Wikipedia''...
[[Image:RubyCocoaTutorialStep1CreatingTheProject04.png]]<br>...this is your newly created project...
# [[Image:RubyCocoaTutorialStep1CreatingTheProject04.png]]<br>...this is your newly created project...
[[Image:RubyCocoaTutorialStep1CreatingTheProject05.png]]<br>
# [[Image:RubyCocoaTutorialStep1CreatingTheProject05.png]]<br>
[[Image:RubyCocoaTutorialStep1CreatingTheProject06.png]]<br>
# [[Image:RubyCocoaTutorialStep1CreatingTheProject06.png]]<br>
[[Image:RubyCocoaTutorialStep1CreatingTheProject07.png]]<br>
# [[Image:RubyCocoaTutorialStep1CreatingTheProject07.png]]<br>
[[Image:RubyCocoaTutorialStep1CreatingTheProject08.png]]<br>
# [[Image:RubyCocoaTutorialStep1CreatingTheProject08.png]]<br>
[[Image:RubyCocoaTutorialStep1CreatingTheProject09.png]]<br>
# [[Image:RubyCocoaTutorialStep1CreatingTheProject09.png]]<br>
[[Image:RubyCocoaTutorialStep1CreatingTheProject10.png]]<br>
# [[Image:RubyCocoaTutorialStep1CreatingTheProject10.png]]<br>
At this time you can already run the application. I will show an empty window, can be quit and even has a about box. Not bad for zero programming.
At this time you can already run the application. I will show an empty window, can be quit and even has a about box. Not bad for zero programming.



Revision as of 23:08, 14 June 2010

This is my preparation for the Cetik Event 2010. 2009 I promised to hold a lecture about creating an simple RubyCocoa application.

What you need

  • Macintosh of your choice
  • MacOS X 10.5 oder 10.6 (10.4 users have to install RubyCocoa theirselves)
  • XCode 2.4 or higher[1]
  • some time

Step 01: Creating the project

  1. RubyCocoaTutorialStep1CreatingTheProject01.png
    Click Create a new XCode project...
  2. RubyCocoaTutorialStep1CreatingTheProject02.png
    ...choose Application on the left and Cocoa Application on the right and click Choose......
  3. RubyCocoaTutorialStep1CreatingTheProject03.png
    ...choose a cozy place and a name for your project, I named it Wikipedia...
  4. RubyCocoaTutorialStep1CreatingTheProject04.png
    ...this is your newly created project...
  5. RubyCocoaTutorialStep1CreatingTheProject05.png
  6. RubyCocoaTutorialStep1CreatingTheProject06.png
  7. RubyCocoaTutorialStep1CreatingTheProject07.png
  8. RubyCocoaTutorialStep1CreatingTheProject08.png
  9. RubyCocoaTutorialStep1CreatingTheProject09.png
  10. RubyCocoaTutorialStep1CreatingTheProject10.png

At this time you can already run the application. I will show an empty window, can be quit and even has a about box. Not bad for zero programming.

Step 02: ?


  • Links
  • Fußnoten:
  1. I used XCode 3.2.1 on Mac OS X 10.6 to create this tutorial