Re: instanceMethodSignatureForSelector always nil
Re: instanceMethodSignatureForSelector always nil
- Subject: Re: instanceMethodSignatureForSelector always nil
- From: "Henry F. Bridge" <email@hidden>
- Date: Tue, 6 Apr 2004 11:05:35 -0700
No, it does! That's why I'm so confused...
Just to check I added [self foo]; to the line before SEL fooSel and
stepped into to it. As expected it entered the foo method.
-Henry-
On Apr 6, 2004, at 3:52 AM, Ondra Cada wrote:
>
Henry,
>
>
On Tuesday, Apr 6, 2004, at 11:21 Europe/Prague, Henry F. Bridge wrote:
>
>
> SEL fooSel = @selector(foo:);
>
> NSMethodSignature *signature = [self
>
> methodSignatureForSelector:fooSel];
>
>
>
> when I break on the first line and step, fooSel gets assigned a
>
> value. But when I step through the next step, signature gets
>
> assigned nil.
>
>
Well, your 'self' does not respond to foo:, that's all. Or does it?
>
---
>
Ondra Dada
>
OCSoftware: email@hidden http://www.ocs.cz
>
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.