Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-06

About modeswitch objectivec2

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

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

Reply by email