Andy Reitz (blog)

 

 

Making slow, but steady, progress with Cocoa

| Comments

So, I can now totally post to my blog from Cocoa/Objective-C. I downloaded Cocoa XML-RPC Framework, and spent a good chunk of yesterday learning about how 3rd party Cocoa Frameworks work in XCode. I decided just to make a simple command-line application to write a hard-coded post to my blog, so that I could focus on the hurdles of learning how to deal with the Xcode / Objective-C / Cocoa troika. Normally, when I learn a new computer language, I just have to focus on learning the language, and the associated standard library. But in trying to write an application for the iPhone, not only do I have to learn a new language and standard library, but I have to learn a new IDE (Xcode) on top of it. So, I'm finding that trying to learn three new systems all together is quite difficult, and thus my progress is slow.

But now that I can post to my blog from a regular Mac OS X Cocoa application, the next step is to attempt to do this from the iPhone simulator.

Of course, as proof that I can actually do what I say, this entire post was written into my Cocoa program, and posted to my blog from my code:

A snapshot of my Xcode editor window, showing some of the
code behind this post
A snapshot of my Xcode editor window, showing some of the code behind this post

-Andy.