Re: Help in 2 Diamensional Array
Re: Help in 2 Diamensional Array
- Subject: Re: Help in 2 Diamensional Array
- From: Andy Lee <email@hidden>
- Date: Sat, 1 Apr 2006 03:18:24 -0500
On Mar 31, 2006, at 11:56 AM, j o a r wrote:
On 31 mar 2006, at 18.32, William Bumgarner wrote:
your own array class, potentially as a subclass of NSArray (or
NSMutableArray).
Is it really such a good idea to tell a newbie to attempt to create
subclasses of a class cluster? ;-)
Even if NSArray were a regular class I personally would use a wrapper
class rather than a subclass, because I don't want that class's
interface to include NSArray baggage that isn't relevant to my
needs. For example, I don't want to have to figure out the semantics
of -arrayByAddingObject: in my new class. It gets hairier if I
subclass NSMutableArray.
I think it's better we wait for Anoop to tell us what he's going to
use it for. I have a hunch that there might be an altogether
different solution for this problem.
You're probably right, but what the heck, I chimed in anyway. :)
--Andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden