Re: What's with these redundant methods ?
Re: What's with these redundant methods ?
- Subject: Re: What's with these redundant methods ?
- From: j o a r <email@hidden>
- Date: Tue, 22 Apr 2003 18:19:55 +0200
On Tuesday, Apr 22, 2003, at 18:02 Europe/Stockholm, MarketLogix
Developer wrote:
Well, true I do not implement those but Object from the ObjC runtime
does implement
respondsTo: and methodFor: and any class that I implement will inherit
from Object and
so inherit these. I worked around this gdb stopper by implementing
respondsToSelector:
and methodForSelector: in a category where they simply call
respondsTo: and methodFor: .
Why don't you inherit from NSObject? Easier all around...
Object doesn't respond to these methods, but the similar:
- (BOOL) respondsTo:(SEL)aSelector;
- (IMP) methodFor:(SEL)aSelector;
j o a r
_______________________________________________
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.