Re: core data structure?
Re: core data structure?
- Subject: Re: core data structure?
- From: "Luca C." <email@hidden>
- Date: Thu, 9 Sep 2010 14:35:38 +0200
When you say a product can link to more than one order, then I assume you
use an array to store the orders.
Why not just creating an array of dictionaries, where in each dictionary you
set the order, the number of products,
and possibly other information. This way when you want to know how many
products are in an order, just go serch for
your order in the array of dictionaries and get it. This is just to clarify
that you haven't to search for strange things.
This is not performant - it's just to help you figure it out.
--
Luca C.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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