Re: Sub classing.
Re: Sub classing.
- Subject: Re: Sub classing.
- From: "Simone Tessaro" <email@hidden>
- Date: Tue, 5 Dec 2006 19:37:46 +0100
2006/12/5, Bill Bumgarner <email@hidden>:
James' suggestion of subclassing NSObject and wrapping an instance of
NSMutableArray is dead on.
The above works, but please don't use this pattern. It'll make a
downright mess out of your code. It adds functionality to all mutable
arrays across your program and not just the ones you are using to
store the StatusTable stuff. This makes the code less reusable and
harder to debug.
This thread is what i'm looking for... I've the same problem of Sandro.
But i think i don't understand, you suggest to use the category instead the
NSArray instance?
Tnks
Simo
_______________________________________________
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