I’m working on a Cocoa app with the intention of using it on Windows and Linux using GNUstep. I’ve been avoiding Objective-C 2.0 features thus far, but I’d really love to start using at least properties. What Google seems to tell me (though I’m having trouble finding much on the subject) is that currently, no Objective-C 2.0 features work with GNUstep. Does anyone know if there are plans for GNUstep to support @property and @synthesize?
I also wonder if there is a good strategy for “expanding” them? I could certainly imagine a program that could expand code using @property and @synthesize into code that does not use any Objective-C 2.0 features, but I’m worried there isn’t much demand for such a thing, so I probably won’t be able to find one.
Do you think there is a good chance that GNUstep will support @property and @synthesize in the next year or so?
This is a few months late, but the answer is yes; GNUstep will support Objective-C 2.0 features (as well as blocks). Currently, everything is more or less implemented, but needs testing and debugging. These features require Clang rather than gcc, and currently you need to use the trunk version.
See David Chisnall’s explanation in this thread for more details:
http://groups.google.com/group/gnu.gnustep.discuss/browse_thread/thread/b0a5fa4e3be71bb1#