52 Comments
- ciurana, on 10/12/2007, -0/+20@deltabourne:
Macs are very easy to use, not to program. That's been the case since the original Macintosh computer was unveiled*.
Using Xcode + Cocoa + Interface Builder is rather simple, actually, once you start doing it instead of just watching a video. The tools are a lot simpler to deal with than Java's NetBeans or Eclipse, or VisualStudio from Microsoft.
Just my $0.02 as a developer.
Cheers,
E
* I've been developing on and for Macs, in one form or another, since 1985. - iFungus, on 10/12/2007, -5/+17Yup, VB sure is good. We can drag and drop buttons and pictures from paint, click the compile button, and say we are programming.
/sarcasm - Masna, on 10/12/2007, -0/+10I used iShowU.
To anyone who thought...
1. I have asthma - I do not, I was just tired.
2. I'm a noob - I'm not, but I had to out a lot of my good explanations because YouTube limits video uploads to 10 minutes.
If you have any Cocoa related questions, contact me at Anthony Kid x (AIM), or email me.
Thanks! - nomore, on 10/12/2007, -1/+11@angelbunny:
Trying to be clever?... '==' is an equality operator, not an assignment operator. Therefore, you are asking if XCode is awesome and asking if this tutorial is crap instead of stating it. - adinb, on 10/12/2007, -1/+9Actually, this is a nice little tutorial for those of us that are developers, but are new to the xcode way of doing things. I won't say that xcode is unintuitive, but its certainly got a different workflow that I'm used to from other (mainly older) IDEs.
- fanboydcs, on 10/12/2007, -0/+8as a cocoa developer, I would recommend Steven Kochan's Learning Objective C. It assumes no prior C knowledge and is a great way to start any language.
Also if you want to hone your skills I would recommend the BigNerdRanch as they have one of the best teachers on the subject Aaron Hillegass.
Xcode and Objc is fun, I recommend it even to newbies... - 35263526, on 10/12/2007, -3/+9@ifungus: Yes, let's attack RAD. That's a really smart idea.
VS.Net 2005 would be faster than this, at least for C#. Also, I used to hate VB, but after the transition to .Net it's got the power of any of the other .Net languages. I still wouldn't use it, given that it's too verbose for my tastes, but even so.
Edit - Let's just establish that this isn't an attack on Xcode. I haven't used Xcode before (though I'm getting a Mac very soon so I plan to start), I'm merely pointing out that this specific task would be faster in VS.Net, which is, BTW, a bloody brilliant IDE, even if it is Microsoft's baby. - Masna, on 10/12/2007, -0/+6I used CS3 app icons and copied them to programs I made. Getting ready for CS3!! :-D
- mfearby, on 10/12/2007, -0/+6And the back-and-forth of the mouse made me want to volunteer my breakfast onto the keyboard.
- dbr_onix, on 10/12/2007, -1/+6A larger, full screen download-able version would be nice too - The video following the cursors every move is somewhat nauseating.
The "Become an Xcoder" ebook [ http://www.cocoalab.com/cocoalab/developer.php ] is a good [free] guide on learning Xcode'ish stuff : Does anyone have other decent OS X software development guides, or [preferably] video-tutorials? - dlsspy, on 10/12/2007, -0/+5@deltabourne
I would hope more people would see this sort of thing and learn how to actually make development toolkits. I've made several useful GUi programs for OS X, NeXTSTEP and GNUSTEP.
I've tried writing apps with swing and I just don't understand why it's so wrong. What's with the code generation, layout managers, manual linkage between model and view and all kinds of other ridiculous busywork? If NeXTSTEP got it right decades ago, why hasn't everyone else figured it out and moved on to building toolkits that let you concentrate on your problems?
Write some apps the OS X way and you'll be equally confused as to why it's so difficult in more ``modern'' environments as well. - embraceware, on 10/12/2007, -0/+4Cocoacast.com is a great video podcast dedicated to teaching Cocoa/Objective-C/Xcode...
- osiris24x, on 10/12/2007, -0/+4Just wanted to say thanks for this video. It was quick and concise, and helped explain how the classes interact with the UI.
Ignore the morons who bitch about free tutorials. There will always be somebody who simply won't be content unless they bitch and whine. - Masna, on 10/12/2007, -1/+5I had no choice. I'm on a 20" iMac; the file size would have been tremendous had I not zoomed.
- diggimator, on 10/12/2007, -0/+3you could change screen resolution to something like 800 x 600 (for older systems) in System Preferences if you were to record in full screen, although personally the zoomed video was fine for me as a free tutorial.
- Wootery, on 10/12/2007, -3/+6"I'm betting the lack of comment is the lack of programmers in Digg userbase."
Was that meant to be an insult? - nomore, on 10/12/2007, -2/+5I've been programming with MS tools for 10 years, and XCode for 2 years. XCode is very different, but once you learn it, it's very quick, efficient and nicer to work with than VS.
Just because people get used to certain ways of doing things... and are lazy when it comes to learning new ways of doing things, it doesn't mean the new ways are worse.
I can get a lot more done with XCode (Cocoa) than VS in a set amount of time. - Masna, on 10/12/2007, -0/+3@kriss
Heh, alright, so maybe I did get 'em!
I love the new PS + Flash GUIs and the perfect panel integration. What I'm sadly dissapointed about is how Dreamweaver, from where I stand (being as I use it simply for color-coded PHP and FTP), is exactly the same as the previous release (they didn't even match the panels to the rest of the suite) :(. Oh well, can't have everything. All's well, seeing how I adore ActionScript. - jordanday, on 10/12/2007, -0/+2disspy, while i agree that swing isn't exactly super awesome, it can't use a lot of the nifty RADtool types of things that xcode, vs.net, or any of the innumerable linux RAD dev tools use. It can't use these things because of the whole platform-Independence thing -- meaning it is built to work not only on "the big 3" (win, osx, kde/gnome) but also on lots of little integrated systems which may have significantly reduced graphical capabilities. That's not to say a lot of the programs that use swing will actually display correctly on these little systems, it just means that no one can say "our app doesn't work on system 'x' because of limitations in swing."
For java dev, personally I prefer SWT -- if you're doing a lot of swing, you might consider looking into SWT, it really is a lot nicer (imo). - aplardi, on 10/12/2007, -1/+3Cool Video but it could have been a little better. No offense to the author but hearing such terrible audio quality (background, lots of word-whiskers, sniffing of the nose and loud breathing) always makes me want to volunteer my vocals to a video.
- kolywater, on 10/12/2007, -2/+4i think basing an opinion of xcode and os x on a 5-minute tutorial video that goes into excruciating detail over how to save a file is probably not the best idea. it's true, the xcode workflow is different than other IDE's, but this video is hardly grounds for establishing its learning curve.
it took ~10-15 clicks and one line of code to make the app in the tutorial. - Masna, on 10/12/2007, -0/+2@kriss
Yeah, I blindly got attached to Dreamweaver since MX 2004, mainly because I developed a severe predilection for the Macromedia Corporation as a whole.
What would really make my life would be if Apple added FTP support (and, even better, color-coded PHP support) to Xcode. Heh... - panique, on 10/12/2007, -0/+2The lack of comments is due to a rare form of paralysis, where one's mouth falls open and the subject remains motionless for up to 5 hours.
- kris33, on 10/12/2007, -1/+3They are leaked already BTW. And only for OS X too :)
I simply just love the new eraser in Illustrator and the new GUI(in addition to be a universal package ofc)
http://www.demonoid.com/files/details/1098910/775222/ - panique, on 10/12/2007, -0/+2It's been a long long time since I've used Visual Studio for C++ programming. However, when I started developing Cocoa apps under Xcode, every corner I turned, every new object I learned about, I noticed that stuff was very clean API-wise. I remember thinking about how much extra setup you had to do to an MFC object (reminiscent of Petzold's book) before you could actually use it. To me, much of MFC seemed more like "structs with attached methods" instead of classes, if you can grok that. In Cocoa, an object is basically ready to do whatever you need right after constructing it. The design of every object I have encountered so far in Cocoa is very clean, very complete, and easily extendable. It's almost like they sat down and actually designed stuff on the marker board before coding it.
- Aberen, on 10/12/2007, -0/+2anyone knows what kind of software he's using to record this ?
- macnerd, on 10/12/2007, -0/+2I can't recommend these 2 books more, Learning Object C and Programming for Mac OS X. I went through the 2 of them in about 3 months and I've written 2 apps for work. One controls a simple relay box and the other is a Quicktime based app that plays back 4 mpeg 4 cameras in one window. Simple yes, but they were all pretty easy to do considering I didn't have any previous programing experience.
My next app will require talking to serial ports which there is no Cocoa for. Chapter 13 of Learning Object C goes over the underlying features which should get most people going on C. I've also picked up a book on Quartz and from just reading a few pages it doesn't seem that hard either. - Dolomite, on 10/12/2007, -0/+2Great tutorial! Thanks. You would probably get more diggs it you used the word AMAZING in your header though...
- eyepatch100, on 03/16/2009, -0/+1I have come to rely on many xcode features after iPhone devving for awhile, and the fact that apple provides it for free (sort of) is a big plus
- unitethenations, on 10/12/2007, -1/+2What are the names of the applications he has in the dock? I.e. at 1:37 - (Dw, Ps, FI)
- kris33, on 10/12/2007, -0/+1I agree. Dreamweaver CS3 sucks :(
Luckily, you don't have to use Dreamweaver. Since almost all web languages are free, other good tools exists.
The case with Photoshop and Flash is different. You almost can't survive without those. If Adobe had ***** up these apps, we would have no good alternatives. Glad Adobe did those right at least :)
Personally, I prefer other tools for coding, like Smultron and CSSEdit :D - zmigliozzi, on 10/12/2007, -2/+3Thanks for using the zoom, I'm going to go throw up now.
- burke, on 10/12/2007, -3/+4Or rather, the lack of overlap of programmers and mac users?
- HoGiHung, on 10/12/2007, -0/+1Thank you Masna for posting. I tubesocked this to review it again via Apple TV. Great timing for this to hit Digg as I've decided to try programming in Cocoa. I have a need for some tools that I have not been able to find for OS X. I've contacted a few programmers but they had no interest. As I am new to programming, it will take some time but from what I've seen so far in XCode, it should be do-able. Although I haven't finished these two fine books, I do recommend them for the content I've read so far:
Programming in Objective-C by Stephen G. Kochan
Cocoa Programming for Mac OS X by Aaron Hillegass (bignerdranch.com)
I'll try to IM you sometime just to say hi.
Ho... - panique, on 10/12/2007, -0/+1@macnerd - root around the ADC docs on http://developer.apple.com for a while. There a project called "SerialPortSample" that will get you going. It's not an Objective-C class, but cutting and pasting the code into my own class was trivial. It's APSL licensed so you can do whatever you want with it, including never republishing your derivative works.
- masskurec, on 03/03/2009, -0/+0nice info
http://xptweak.net - silviu-lucian, on 10/12/2007, -1/+1No, not really.
@Masna: did you try TextMate? I simply love it - themacman, on 10/12/2007, -2/+2very cool!
- Masterbaiter, on 10/12/2007, -3/+2"Was that meant to be an insult?"
Just a guess based on my experience here @ digg. - crossers, on 07/18/2008, -1/+0very cool video!
http://www.leannrimes.info
http://www.shpe-sac.org
http://www.pmidsig.org - inactive, on 10/12/2007, -4/+2^^ Heh heh, that's more like it.
Anyway, this is NOT the kind of topic you address with a video. Thanks, but we don't need to see the cursor rolling around. A well designed Web site is better for this kind of technical information.
People, we don't need a video for every damned thing. - AFeld, on 10/12/2007, -6/+3The video following the cursor made it annoying and confusing to watch
- jordanday, on 10/12/2007, -7/+3I have to respectfully disagree. As an owner of a mac, who works as a windows developer (although moving towards java dev), VS.NET is, hands down, the best IDE I've used. Even as far back as VS 6, MicroSoft has had everyone else playing catch-up. From coding assist (intellisense), debugging, and profiling, VS.NET has the best tools, built-in.
That's not to say that I like programming on one platform over another, or that one platform as a whole is superior to another -- this is just in reference to which IDE I prefer. - Masterbaiter, on 10/12/2007, -10/+5I'm betting the lack of comment is the lack of programmers in Digg userbase. Anyway, good explanation, I'd say.
- antimac, on 10/12/2007, -5/+0I don't understand why this got so many diggs. The tutorial is lame, only apple fan boys would digg this.
- tuxracer, on 10/12/2007, -12/+7I'd recommend using Google Video for these types of videos. That way the default size of the video is much larger.
Yes, I realize Google owns YouTube, however, YouTube defaults the video to a size that reminds me of the days of 56k and RealPlayer streaming video. That's actually fine for most random stuff, but for a tutorial like this it would be useful to have a much larger default size. - trypto, on 10/12/2007, -10/+3Nice tutorial, the whole process seems so convoluted though. OSX has such a steep learning curve. Doing the same thing with windows forms in .NET is so much easier. Probably about 10 button clicks total and only a few lines of C# code.
- AngelBunny, on 10/12/2007, -15/+6xcode == awesome
this tutorial == crap
while watching this tutorial all i could think was 'asthma' - jordanday, on 10/12/2007, -9/+0whoops, replied to wrong parent. digg down please.


What is Digg?
Digg is coming to a city (and computer) near you! Check out all the details on our