I don’t understand why it was coded in that fashion. What about:
- (id) initWithCoder:(NSCoder *)decoder {
if ([super respondsToSelector:@selector(initWithCoder:)] && ![self isKindOfClass:[super class]]) {
self = [super initWithCoder:decoder];
} else {
self = [super init];
}
if (self == nil) { return nil; }
...
> --
> You received this message because you are subscribed to the Google Groups "WSDL2ObjC Discussion Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
wsdl2objc-disc...@googlegroups.com.
> To post to this group, send email to
wsdl2obj...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/wsdl2objc-discuss.
> For more options, visit
https://groups.google.com/d/optout.