First, you should install XCode (either from your System Installation DVD or by downloading it from connect.apple.com - you'd need to register as a developer then).

When installed, you should get familiar with XCode, copy one of the example-projects to your desktop from /Developer/Examples (on your startup disk), open the project by double-clicking the .xcodeproj file.
Click the "Build and Go" button, and try the program.

Here's a few suggestions for examples to try first - they are both quite small:

/Developer/Examples/AppKit/DotView

/Developer/Examples/AppKit/CircleView

When you've loaded the DotView and tried it, try changing some values, for instance change:

dotRect.size.width = 2 * radius;

to...

dotRect.size.width = 0.7 * radius;

Click "Build and Go" again, and see the difference from last time.

Try also changing bezierPathWithOvalInRect to bezierPathWithRect, Build and Go, to see what happes.

Explore and learn. At some point, you will get compile-errors, and the program will not run. You will learn later, how to deal with compile- errors; fortunately, XCode helps you to see what's wrong, usually by showing you the line that fails to compile. When you've at some point get tired or ruined the application (don't worry, you still have the original), go and take this tutorial:

http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/01Introduction/chapter_1_section_1.html

Note: If something worked, but won't compile anymore, and you don't remember how it looked like, you can try and press Command+Z to undo your changes. Save the file and try building it again.


Love,
Jens

On Jan 9, 2009, at 03:11, Parker Logan wrote:

I am new to all this so if any one can help please do. Thank you

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to