Re: Problem overriding NSMutableArray?
Re: Problem overriding NSMutableArray?
- Subject: Re: Problem overriding NSMutableArray?
- From: Michael Rogers <email@hidden>
- Date: Thu, 31 May 2001 07:55:08 -0500
On Thursday, May 31, 2001, at 03:25 AM, Mike Shields wrote:
So I guess I need to ask why are you subclassing NSMutableArray? I can
think of very few reasons to subclass. Normally, NS(Mutable)Array are
used as is to hold specific objects which give you the specific
implementation.
Thanks Mike (and everybody else) for explaining the situation. I had
read the NSMutableArray documentation, but skipped over NSArray, which
is where they discussed this. The reason I attempted to subclass
NSMutableArray is that I wanted to model a PhotoAlbum, which is, in a
sense, a specialized NSMutableArray. I am now doing what Marco
suggested, and that works just fine.
Michael
------------------------------
Dr. Michael P. Rogers
Mathematics & Computer Science, Millikin University
email@hidden
http://math.millikin.edu/mprogers
217-424-6327(W) 309-828-8655 (H) 309-825-6454(C)