Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to program in Objective-C (Tutorial)

Loading...

Sign in or sign up now!
6,012
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 2, 2009

This was an extremely simple tutorial on how to use the "NSLog" string to show your text on the screen.

1. Open Xcode
2. Click "File"
3. Click "New Project"
4. Click "Command Line Utility" under "Mac OS X"
5. Click "Foundation Tool"
6. Click "Choose..."
7. Name your project "Sample"
8. Click "Save"
Now, your project is created.
Ok, every program starts in the file with the extension ".m"
9. So, click on the "Sample.m" file
10. Now, type (capitols count!!!)......
" NSLog (@"This is my first program!"); "

*Don't forget the semi-colon at the end!*
*Type this exactly where I show you!*

11. Once you're done, click "Build and Go" If there are errors, comment on my video and tell me what they are.
12. Once it succeeds, go up to the tab bar and click "Run"
13. Then click "Console"
14. There you go! You just created your first, extremely simple program in Objective-C!

Comment, Rate, and Subscribe to iPodtouchcoder!

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (ipodtouchcoder)

  • COOL VID, YOUR GOOD AT THIS, PUT SUM UP EXPLAINING THINGS FOR DUMMIES, UM JUST SAYING. & MUCH THANX !, MUSIC IS SWEET

  • @ROYALITARIAN Thanks, man

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • @reidar22 You can't, obj-c was specifically designed to operate on *nix based operating systems.

  • i was looking to learn not listen to disco music.

  • what program must i use in windows to be able to program obj c? i will buy the program

  • @knight11ind yes.

  • can u programm iphone apps using this?

  • Thanx for the video, mate.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more