• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sub classing.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Re: Sub classing.
      • From: "Alan Smith" <email@hidden>
References: 
 >Re: Sub classing. (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: problems with modal window and menu command
  • Next by Date: Re: Faking out modality with validateMenuItem:
  • Previous by thread: Re: Sub classing.
  • Next by thread: Re: Re: Sub classing.
  • Index(es):
    • Date
    • Thread