Home » Chocolate » Simple Objective-C/Cocoa Xcode Tutorial

Simple Objective-C/Cocoa Xcode Tutorial

For more videos like this, visit MyCodeTeacher.com This tutorial outlines the basics necessary for using Objective-C and the Cocoa Frameworks alongside Xcode and Interface Builder to create powerful Mac OS X applications.

Tags:

Related posts:

  1. Building a Cocoa Calculator Application with XCode 3 for Mac
  2. Programming in Objective-C 2.0 (2nd Edition)
  3. Cocoa(R) Programming for Mac(R) OS X (3rd Edition) Reviews
  4. Cocoa Recipes for Mac OS X (2nd Edition) Reviews
  5. Learn Cocoa on the Mac (Learn Series)

25 Comments

nice video thanks for taking the time to load this. Do you have any apps that you have created on


@Masna360 in VS, which means C#/VB.Net and even VC++, you can do it in an more intuitive manner, you just click the button twice and the IDE jumps to the on the fly create clickhandler and you can type “NSBeep();”, and all this in one window. thats what he mean.


What would you have to do to let it play a custom sound, like a song for instance?


@obliion6 the NSBeep() is a function built into Cocoa that causes it to play the default beep sound.


@obliion6 the NSBeep() is a function built into Cocoa that causes it to play the default beep sound.


Great Work Guy!!


Perfect man!! very helpfull!!


I have xcode 3.1.3 and it looks different…can’t find how to create .h and .m files
when I rightclick the application it shows only the connection to the button…and nothing about creating anything :(


check out my Objective-C programming videos. Just go to my channel and you will see the playlist.


this tutorial is very old, you should search for xcode 3 tutorials, this is xcode 2


I’m totally lost.
I tried to follow this on both my Leopard machine and my Snow Leopard machine, but the new interface looks nothing like the one in your tutorial.

I guess I need to refine my search.


This is quite good, but I’m assuming the menus on Xcode and Interface builder have changed with XCode 3.0 in Leopard. My menus look quite different.


@Jointhecreed it isnt .nib its .xib


When I open xcode and make a new program i do not have a .nib file, all i need to know is how to do simple programming like inputting variables with scanf, and printing them with printf, but i can’t get what I’ve programmed to ever open a window showing me the result of my code any help would be much appreciated


Xcode runs fine on my Ma Book Pro (Intel)


@0121ryanh117 I got a few thumbs down for the word Hackintosh, im sure of it.

Well, the point still stands, XCode wont run on Intel based hardware, thats a fact which is kinda frustrating…..


Thank you for the introduction


winodws apps are also crap


Have you ever programmed with Cocoa? Because I’ve talked to a lot of Windows developers who transitioned to Mac and every one of them says it’s not even a fair comparison; Mac is better.


XCode wont run on my Hackintosh because It is intel based, who cares though, cant beat windows for programming. has everything you could ever want


hey stupid, in Windows programming you need to spread dll:s and shit all over the place like a complete retard compensating for a bad centralized os which is a fucking joke instead of getting down to the core programming issues.


yeah you are what you is


you are a natural born loser


lol You can’t even spell ‘beep’. How sad


It’s Okay, everyone has to start somewhere. You’ve chosen windows…well…maybe not the best choice but hey you’ll learn


Want To Provide Some Feedback?