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
