« Fun with Procs in Ruby 1.9 | Main | The Apple NDA is lifting... »

September 17, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451c41c69e2010534a4faaa970c

Listed below are links to weblogs that reference Time for Cocoa:

Comments

Steve

When you wrote, "Cocoa is a really well thought out framework, but the tight integration with Xcode and IB", I thought you were going to follow it up with, "makes it a pain in the ass to use with anything else."

I think Cocoa is well-designed too, but I'm more interested in writing applications that work on multiple platforms. That's why I stick to cross-platform APIs, though lately I've been using XULrunner a lot, which also makes it easy as pie to get something up and running quickly.

Jason Bock

I've been blogging my forays into Cocoa/Xcode/IB/Objective-C. Being a .NET guy on Windows, it's been interesting, but it hasn't been frustrating. Objective-C is interesting, and the apps don't look all that bad either. Like any tool, it has its quirks, but overall it's not that bad.

The Boy Ken

Dave, certainly Xcode and IB are the usual / suggested route, but you don't need to use either to write a Cocoa app - the UI can be written programmatically (not within IB), including bindings and target/action stuff, and the Obj-C editing can be done in whatever you want (TextMate if you're already using that for Ruby, or emacs / vi etc.). It builds using the Apple Developer Tools gcc (so you do need them installed).

The problem is more that the docs assume you're using Xcode and IB, so most people would have to go through that before they can go with their preferred editor etc.

But may I suggest you play more fully once you've released the new edition of the Agile Rails book... OK I'm just being selfish now ;)

Dave Thomas

Ken:

I appreciate that you can use TextMate and friends, but for the first time I actually see that I might prefer to use and IDE (Xcode) for development. I'm a firm believer that there's not one true editor or one best tool: I'm always looking for the best tool for the job at hand. For Ruby code, I use Textmate. For editing books, I use Emacs. And, now, for Cocoa programming, I'd use Xcode. I was just surprised to find myself liking it.

Dave

Robert Walker

@steve: You mean cross-platform APIs like Win32? I think you're missing the point of Cocoa.

Xcode, Cocoa & Carbon are tools and APIs for building native Macintosh and iPhone/iPod applications. If you have cross-platform considerations for you application then Cocoa is not the right tool. This is just as much the case for Win32 or UNIX native applications. There is still a need, and probably will be for a really long time, to have native applications. You can provide a much better user experience when building to a specific platform.

Cocoa is the "crown jewel" of what makes the Macintosh such a great user experience for both end users and developers alike.

I am in agreement with Dave, Xcode is the only IDE I actually enjoy using. I am stuck in a Java world in my day job (I'm a Ruby programmer by night and tinker with Cocoa when I can). So that means I'm stuck living in a Java based IDE pretty much all day.

The nature of Java today pretty much dictates that you'll be using one of their IDEs. There's just to much boiler-plate code involved in Java applications to forego the IDE. And no matter how much work goes into creating these Java IDEs, they never have the great "native" feel of Xcode and IB.

Robin

@Robert Walker: No, you are missing the point of Steve's comment (and since when is Win32 cross-platform?). He just said that he's more interested in using cross-platform APIs like XUL or Qt (or soon GTK+) and not proprietary and single-platform ones like Cocoa. And I happen to agree with him.

Fabio

@Robin: First you imply that Steve was just stating his _preference_ of working with cross-platform APIs, then you say you agree with him. That makes no sense. You can hold the same preference, but, since a preference can be neither wrong nor right, you can't agree with it. Unless you mean that you agree with Robert's notion that since cocoa is not cross-platform, it is not adequate.

In that case I would ask what you and steve actually _said_? What did you contribute by your comments? If you decide to write an application for multiple platforms, of course you aren't going to choose cocoa (just like you wouldn't choose gtk to write a native windows app). Why does that even need saying, except for purposes of verbal [self-pleasuring]? (ahem.) It's the equivalent of calling all the companies in the phonebook who's services you _don't_ need that day to say, "I just wanted you to know that I will not be requiring your services today." Its not necessary or helpful to anyone involved.

My gut tells me that the purpose of both comments was to bash cocoa and its IDEs (and win32, et. al.) because they are not free (open) tools and your ideals cause you to harbor hate for them for these reasons. That's a shame.

Brent

@Robin: "and since when is Win32 cross-platform?"

I'd like to introduce you to sarcasm...you guys will get along quite well.

Don

@Dave: "For editing books, I use Emacs."

Could you expand on why you prefer emacs for editing books Dave?
And also, do you specifically mean "editing" as opposed to "writing"?
What do you use for writing? Can you recommend a toolset/workflow for would-be technical writers?

Thanks for the quality of content in your work and products.

Dave Thomas

@don: I meant to say "editor I use when writing books." The killer feature of Emacs is filladapt-mode, which wraps intelligently as I type.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Now in Beta

  • Programming Ruby, 3rd Edition
    Third Edition, Covering Ruby 1.9, now available
My Photo

Pragmatic Stuff

Photos

  • www.flickr.com
    This is a Flickr badge showing public photos from pragdave tagged with pragdave_badge. Make your own badge here.

Site Search

  • Google Search

    The web
    PragDave