cloudshooterhuman / crossmobile

Automatically exported from code.google.com/p/crossmobile
0 stars 0 forks source link

<id> to be mapped to NSObject or Object #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, <id> is being mapped to Object in generated Java API. But may need 
to be mapped to NSObject.  The example considered here was of the following: 
NSMutableDictionary.setObjectForKey(). 
The arguments here - the key, value pair need to be derived from NSObject.
But the question was how to handle in case of 'delegates'. We could have 
mapping id to NSObject as a default behaviour and add an entry for special 
cases such as delegates in advisor.xml. 

Spoorthi

Original issue reported on code.google.com by spoorthi.dsilva@gmail.com on 24 Nov 2011 at 7:34

GoogleCodeExporter commented 9 years ago
Delegates are usually mapped to their correct protocol.
For all other issues have a look at advisor.xml, entries under the group  
<idconflicts>

Original comment by terat...@gmail.com on 26 Nov 2011 at 7:33