I'm trying to get my program PlayerPRO Cocoa to display the contents of the 
music list. I was able to put things into the list, but they do not show up in 
the table view.
(Full code is available at sourceforge.net/projects/playerpro, on the 
PlayerPRO6 branch)

I have it set up so that the App Delegate has a reference to the PPMusicList 
class defined as musicList. PPMusicList has a mutable array with contents of 
PPMusicListObject; the PPMusicListObject has two values: an NSURL that has the 
full path of a file (musicUrl), and the file's name (fileName). the PPMusicList 
class that has the following defines:

- (NSUInteger)countOfMusicList;
- (id)objectInMusicListAtIndex:(NSUInteger)idx;
- (void)insertObject:(id)anObj inMusicListAtIndex:(NSUInteger)idx;
- (void)removeObjectInMusicListAtIndex:(NSUInteger)object;
- (void)replaceObjectInMusicListAtIndex:(NSUInteger)index 
withObject:(id)anObject;

There is an Array controller bound to the app delegate with the model key path 
set to musicList and the table is bound to the array controller with the model 
key path set to fileName.

What am I doing wrong?
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to