1
Vote

Objective-C saved words

description

When the service contains field names which are "saved words" in objective c (e.g. return, default), the odatagen generates those as is in one of the class functions, causing to build errors.
This should be changed on the XSLT so the field names will be m_return, m_default, etc.
 
Please refer to line 308 in objc_implemintation.h.

comments

claudioc wrote Dec 3, 2010 at 5:29 AM

Thanks for reporting this issue. We are starting the implementation of the next version of the library so we will fix this issue too.
Schedule is not final but we should have the new version released at the beginning of Jan.

Claudio

CTapang wrote Mar 12, 2011 at 12:26 AM

Fixed in Version 1.2 by prefixing the class names with a namespace.