Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BollywooD

macrumors 6502
Original poster
Apr 27, 2005
374
47
Hamburg
Im stumped.
I have an NSTreeController, which is a subset of an NSArray. Contained in both is are objects which are flagged as favorites, or non favorites. I want to save only differences between the two, into a new NSArray.

for example:

NSArray has the following objects:
apple (favorite)
orange
carrot
banana
pear (favorite)

NSTreeController
apple
orange (favorite)


I would like to have a new combined NSArray, with the following objects:
apple
orange (favorite)
carrot
banana
pear (favorite)


how would I go about doing this?

thanks in advance
:confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.