Author Topic: Mac OS X usage  (Read 4535 times)

bronxbomber92

  • Guest
Mac OS X usage
« on: January 08, 2007, 12:43:27 am »
Hello,

I'm a new user to Code::Blocks migrating from Xcode. I have a few questions.

1.) When I go to quit the application, it won't. Code::block refuses to close, why is this so?

2.) How do I create templates?

3.) Are there any other external templates available?

3.) Is it possible to write Cocoa application (Cocoa/Objective-c)?

4.) How do I add frameworks?

Thanks for taking the time to help me out :)
Jedd

Offline Auria

  • Almost regular
  • **
  • Posts: 152
Re: Mac OS X usage
« Reply #1 on: January 08, 2007, 03:21:26 am »
Hi, please first note that mac os X version of Code::Blocks is an ongoing effort and may be less stable than windows and linux versions (haven't tried it on mac for a long time, doesn't know exactly where it is now)

to add a framework, just locate the area where you can add flags, in target options, and add -framework Carbon (or whatever framework you want)

AFAIK, Code::Blocks doesn't support objective C. Even if it does, i guess Cocoa is strongly attached to XCode. You would need Interface Builder at least, and probably couldn't get it to auto add the files to project, etc.

Good luck :D

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Mac OS X usage
« Reply #2 on: January 08, 2007, 10:14:30 am »
GCC supports objective C and CB supports GCC so it should be rather simple to add support for Objective C.  You could just try adding the files to your project and compiling them.