开发者

Creating a Cocoa app using C or Perl (NOT Objective-C)

开发者 https://www.devze.com 2022-12-10 06:54 出处:网络
I\'m having a hard time understanding how to use Cocoa with either C or Perl. Background: I\'ve seen it mentioned in quite a few places that Mac\'s Cocoa API can be used with C, Perl etc. but I haven

I'm having a hard time understanding how to use Cocoa with either C or Perl.

Background: I've seen it mentioned in quite a few places that Mac's Cocoa API can be used with C, Perl etc. but I haven't found any information on how to go about doing this. I've also found a couple of articles saying that Coco开发者_如何转开发a can be used with Objective-C only.

I've seen CamelBones for Perl but it looks like I have to use XCode and a fair amount of Objective-C to use it.

Are there any resources on building a Cocoa app using just a C compiler and a text editor?


If you don't want to learn Objective-C, then forget about writing Cocoa apps. The Python and Ruby bridges are for using existing libraries in a Cocoa app, they are not a way for you to live in a bubble and avoid learning a new language.

0

精彩评论

暂无评论...
验证码 换一张
取 消