Re: What's with these redundant methods ?
Re: What's with these redundant methods ?
- Subject: Re: What's with these redundant methods ?
- From: MarketLogix Developer <email@hidden>
- Date: Tue, 22 Apr 2003 16:04:52 -0700
On Tuesday, April 22, 2003, at 09:19 AM, j o a r wrote:
Why don't you inherit from NSObject? Easier all around...
Not portable. My ObjC code currently runs on NeXT, FreeBSD, linux,
Solaris and even windoze(w/cygnus). I would need a much more compelling
reason to inherit from a repackaged root class than to pick up on these
2.
Object doesn't respond to these methods, but the similar:
- (BOOL) respondsTo:(SEL)aSelector;
- (IMP) methodFor:(SEL)aSelector;
I know. That's why I said that I added a category that reimplements
the NSObject
versions by calling these 2.
My question was more "why were these reimplemented in NSObject" ?
In fact, while I'm at it, why is there an NSObject ?
-----------------------------------------------
bisk ~ OSX.2.4
G4 PowerMac Gigabit, Dual 500
Sony SDM-M81 18.1" LCD display
1GB, 40GB, SuperDrive(DVR 105)
HP "All-in-One" d135 BubbleJet
-----------------------------------------------
_______________________________________________
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.