Author Topic: Objective C Support  (Read 9087 times)

tobiasplaten

  • Guest
Objective C Support
« on: August 07, 2010, 12:04:18 pm »
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Objective C Support
« Reply #1 on: August 07, 2010, 04:03:26 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.