Re: Re: Sub classing.
Re: Re: Sub classing.
- Subject: Re: Re: Sub classing.
- From: "Alan Smith" <email@hidden>
- Date: Tue, 5 Dec 2006 13:53:18 -0500
Hi Simone,
Bill was saying that the category is *not* the way to go, I agree.
Wrap a private instance of NSMutableArray and write methods like:
- (void)setObject:(id)object atIndex:(int)index
{
[array setObject: object atIndex: index];
}
- (id)objectAtIndex:(int)index
{
return [array objectAtIndex: index];
}
Good luck to you, Simone, and Sandro.
Peace, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden