Closed mnievas closed 10 years ago
Hi,
In the method forwardInvocation, you assume that my class had implemented 'numberOfSectionsInTableView:' which is not mandatory. If the method is not defined, you have to assume 1.
Regards, Marce.
-(void)forwardInvocation:(NSInvocation *)invocation { if (!_proxyObject) { [self doesNotRecognizeSelector: [invocation selector]]; } [invocation invokeWithTarget:_proxyObject]; }
(lldb) po invocation <NSInvocation: 0x16d51f10> return value: {i} 0 target: {@} 0x1eb8e0c0 selector: {:} numberOfSectionsInTableView: argument 2: {@} 0x173a0a00
Hi,
In the method forwardInvocation, you assume that my class had implemented 'numberOfSectionsInTableView:' which is not mandatory. If the method is not defined, you have to assume 1.
Regards, Marce.
-(void)forwardInvocation:(NSInvocation *)invocation { if (!_proxyObject) { [self doesNotRecognizeSelector: [invocation selector]]; } [invocation invokeWithTarget:_proxyObject]; }
(lldb) po invocation <NSInvocation: 0x16d51f10> return value: {i} 0 target: {@} 0x1eb8e0c0 selector: {:} numberOfSectionsInTableView: argument 2: {@} 0x173a0a00