• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: instanceMethodSignatureForSelector always nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: instanceMethodSignatureForSelector always nil


  • Subject: Re: instanceMethodSignatureForSelector always nil
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 6 Apr 2004 20:19:55 +0200

Henry,

On Tuesday, Apr 6, 2004, at 20:05 Europe/Prague, Henry F. Bridge wrote:

No, it does! That's why I'm so confused...

strange indeed--normally, these things tend to work all right:

15 /tmp> <q.m
#import <Foundation/Foundation.h>
@interface Foo:NSObject
-(void)foo:o;
-(void)testIt;
@end
int main() {
[NSAutoreleasePool new];
[[Foo new] testIt];
return 0;
}
@implementation Foo
-(void)foo:o {}
-(void)testIt {
SEL sel=@selector(foo:);
NSLog(@"SEL %x, sig %x",sel,[self methodSignatureForSelector:sel]);
}
@end
16 /tmp> cc -Wall -framework Foundation q.m && ./a.out
2004-04-06 20:18:46.237 a.out[23025] SEL 2fc4, sig 92af0
17 /tmp>

Perhaps some typo or so in your code?
---
Ondra Hada
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.


References: 
 >Re: instanceMethodSignatureForSelector always nil (From: "Henry F. Bridge" <email@hidden>)

  • Prev by Date: Re: instanceMethodSignatureForSelector always nil
  • Next by Date: Adding menus to Dock items
  • Previous by thread: Re: instanceMethodSignatureForSelector always nil
  • Next by thread: Re: instanceMethodSignatureForSelector always nil
  • Index(es):
    • Date
    • Thread