• 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: Mixing Object Types in a NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Mixing Object Types in a NSDictionary


  • Subject: RE: Mixing Object Types in a NSDictionary
  • From: rakel <email@hidden>
  • Date: Wed, 12 Jul 2006 11:50:28 +0200

I have a model class that I thought would be easier built and more future proof by having my instance members stored inside of a single NSDictionary, instead of having a big list of instance members in my model class.

Now I don't know your problem domain, but a large number of instance variables in a class is more often than not a sign that the class need to be refactored into several classes.


Regards
/Dan
_______________________________________________
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


  • Prev by Date: Initialize text view in window with NSWindowController
  • Next by Date: Helper tool, root and MoreAuthSample?
  • Previous by thread: Re: Mixing Object Types in a NSDictionary
  • Next by thread: Terminating from Separate Thread
  • Index(es):
    • Date
    • Thread