Array to array based on values in it
Array to array based on values in it
- Subject: Array to array based on values in it
- From: Miro Zahorak <email@hidden>
- Date: Wed, 26 Jan 2005 14:47:58 +0100
I posted this 5 days ago, but no answer, so I try again.
Any ideas, hints, links please?
Coming from PHP environment where this was very simple task, I got a
bit stuck with this...
Probably very simple question for you, OO guys... anyway...
I have a class "Model" ( with MD "properties" and array "gallery" in it
) which is used in MD "models" (which has about 500 records).
I have an array "csv" with 15.000 records in 50 columns created from
csv file.
simpler:
My Array controller class contains:
"models" MD
which contains
"model" instances which is:
one MD "properties"
and
one array "gallery"
I filled MD properties from csv file, now I want to fill "gallery"
array from other csv file.
I want to do this in cycle by first sorting an "csv"array I got by
importing csv
then add record to "temp" array for every record from "csv" array until
sorting value changes.
then assign "temp" array to "gallery"array in MD models (do not know
how yet)
Could this work or is there a simple way of doing this?
Thanks
Miro
-=x=-
Skontrolované antivírovým programom NOD32
_______________________________________________
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
-=x=-
Skontrolované antivírovým programom NOD32
_______________________________________________
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