News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Objective C Support

Started by tobiasplaten, August 07, 2010, 12:04:18 PM

Previous topic - Next topic

tobiasplaten

Hi,
Code Blocks supports only syntax highlighting for C,C++ but not for Objective-C and Objective-C++.
Gcc and clang both support Objective-C.
Adding file associations(*.m,*.mm) and syntax highlighting (keywords: @interface @implementation @protocol @end @private @protected @public @try @throw @catch @finally.@class @selector @encode @synchronized @property @package @required @optional @synthesize and @dynamic in out inout bycopy byref onewaq YES NO self id ) should be easy.
An objective-c compiler should not be bundled yet with code blocks mingw until llvm is used for code completion.

ollydbg

Quote from: tobiasplaten on August 07, 2010, 12:04:18 PM
An objective-c compiler should not be bundled yet with code blocks mingw until llvm is used for code completion.
Currently, no body plan to add llvm to support codecompletion.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.