hey i've got a little confusion here..
I'm using the EyeTunes Framework for a little learning project. It's an iTunes Controller.
The framework gave me an array of playlists currently existing in iTunes.
As some playlists contain thousands of tracks, i plan to create arrays of the track-objects of each playlist in the "applicationDidFinishLaunching" method. (and retain those arrays)
That way when the bindings system should display the tracks list of a playlist, it does not have to load that whole list at the moment. So well so far..
Now, to create those track-arrays for each playlist i wanted to do:
(allPlaylists is an array containing all iTunes Playlists [ ETPlaylist* ];
An ETPlaylist returns an array of Tracks with it's "tracks method")
for (ETPlaylist *aPlaylist in allPlaylists){
arrayContainingTracks = [aPlaylist tracks]
}
so
How do i set a different name for "arrayContainingTracks" in each enumeration?
And how to do that in the header file, in which all instance Vars have to be declared?and BTW: Up to which level of relationships does an array load it's contents to memory when allocated?