From: Markus H. <ma...@ti...> - 2011-05-05 08:36:08
|
Hi, I'd like to use a UITableViewDelegate with the C Backend. Some methods in that class are optional. XMLVM generates stubs for the, that throw the XMLVM_NOT_IMPLEMENTED Error: JAVA_FLOAT org_xmlvm_iphone_UITableViewDelegate_heightForRowAtIndexPath___org_xmlvm_iphone_UITableView_org_xmlvm_iphone_NSIndexPath(JAVA_OBJECT me, JAVA_OBJECT n1, JAVA_OBJECT n2) { //XMLVM_BEGIN_WRAPPER[org_xmlvm_iphone_UITableViewDelegate_heightForRowAtIndexPath___org_xmlvm_iphone_UITableView_org_xmlvm_iphone_NSIndexPath] XMLVM_NOT_IMPLEMENTED(); //XMLVM_END_WRAPPER } I can override all of the methods, of course, but I rather would leave them out. What would be the correct way to handle optional methods? Markus |