What is better to program on Macintosh? Is it worth it learning Objective-C along the Cocoa API?

I'm thinking about building a desktop editor for online applications such as Content Management Systems and was wondering what was the less painful path.