• 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
Array to array based on values in it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Array to array based on values in it
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: CFDateFormatter + time zone = failure or crash
  • Next by Date: Re: Array to array based on values in it
  • Previous by thread: Array to array based on values in it
  • Next by thread: Re: Array to array based on values in it
  • Index(es):
    • Date
    • Thread