• 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
Good way to store interesting data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Good way to store interesting data


  • Subject: Good way to store interesting data
  • From: Coleman Nitroy <email@hidden>
  • Date: Thu, 16 Dec 2004 18:34:04 -0500

I am having some trouble wrapping my brain around the large amounts of ways to store data in cocoa. I basically think I am over compleicating the issue and there has got to be a much easier way. I first had 5 classes(!!!) to store it all containing arrays. I want easy ways to toss this information out into the user interface to various panel windows, all with their seperate nibs and class definitions. Bindings would be the best way to do this, but I first need a good way to store all this information.

Here is what I am trying to store: http:nitroy.com/cole/Files/Temp/mapfile.png (I tossed it onto my webspace because I thought attachments would be a no-no on this list, whats the official word on attachments?)

I currently have probably a highly inefficient way of storing this.
I have a class called Map, and a class called MapEntity.
Map has one instance a NSMutableArray, that I fill with MapEntitys.
MapEntity has mutable arrays for propertyName, propertyValue, etc..etc.. objects in arrays holding more arrays ..etc.. its very gross.


Any thoughts?


--- Coleman Nitroy email@hidden nitroy.com/cole

_______________________________________________
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: Secure communication between two process
  • Next by Date: Re: Extending a save panel
  • Previous by thread: Re: Secure communication between two process
  • Next by thread: Examples of custom controls that support bindings
  • Index(es):
    • Date
    • Thread