Re: IS THERE SUCH A THING AS . . .
Re: IS THERE SUCH A THING AS . . .
- Subject: Re: IS THERE SUCH A THING AS . . .
- From: "Ryan Chapman" <email@hidden>
- Date: Thu, 1 May 2008 13:51:17 -0400
This is probably beyond the scope of this list, but I was always grateful to people helping me when I started learning Xcode, so here are instructions for getting HelloWorld to work
Hello World with Xcode 3.0:
1. Open Xcode
2. Click File, New Project
3. Select Cocoa Foundation Tool (can't remember exact wording in Xcode 3.0)
4. Double-click HelloWorld.m
5. You should see a line that says NSLog(@"Hello World");
6. In the Xcode menu bar, click Run, Console to bring up the console where you will see output from this program
7. Press Build and Go
8. You should see a "Hello, World!" message from the program:
[Session started at 2008-05-01 13:42:44 -0400.]
2008-05-01 13:42:44.272 HelloWorld[56555:10b] Hello, World!
The Debugger has exited with status 0.
If you don't, then there was a build problem. In the Xcode menu bar, click Build, Build Results. This should bring up the Build Results window.
In the Build Results window, look at the horizontal scroll bar in the middle of the window. There are four icons to the left of the horizontal scroll bar. The first is a check, the second is a caution icon (triangle with exclamation point), and the third is horizontal lines. Click the third icon, which should cause the build commands to show up. We need this info to determine what went wrong, so copy and paste this info in a new message to this list.
-Ryan
On Thu, May 1, 2008 at 1:36 PM, Dan Uff <
email@hidden> wrote:
Hi all,
I am new to Xcode, C, and the like. I have read the following:
- Programming in Objective-C
- Learning COCOA
and still cannot grasp some of the concepts. I have tried to make and compile my own software (even a simple HELLO WORLD one without success).
Is there anywhere that I can go get a "cheat sheet" on what commands to use where?
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden