[fpc-devel] About modeswitch objectivec2
Leonardo M. Ramé
martinrame at yahoo.com
Mon Jun 21 01:21:27 CEST 2010
I often read the svn log of the trunk version, and today I noted that a mode called "objectivec2" was added. What's the objective of this addition?
r15460 | jonas | 2010-06-20 09:38:45 -0300 (dom 20 de jun de 2010) | 7 lines
+ support for Objective-Pascal for-in loops ("fast enumerations")
+ {$modeswitch objectivec2}, which is required before you can use
Objective-C 2.0 features (such as the above). It automatically
also implies {$modeswitch objectivec1}
+ genloadfield() helper to load a field of a node representing
a record/object/class
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the fpc-devel
mailing list