I would like to know if they have an equivalent in Objective C of the JAVA’s methode “BeanUtils.CopyProperties(bean1, Bean2);” ?
Or other solution, i would like to cast motherObject to childObject :
@interface motherBean : NSObject{ ...}
@interface childBean : motherBean { ...}
motherBean m = [motherBean new];
childBean f = m;
With the first tests it’s work but I have a warning : “incompatible pointer types returning …”;
I use WSDL2Objc and it generate bean, and the name of it can change between 2 generation :-/
I prefere to work with the child and just change the name in her definition
Thanks
Anthony
The method BeanUtils.copyProperties
call :