Hey folks,

I'm working on a little project: http://recon-mac.googlecode.com , a frontend for Nmap. My Core Data model looks like this:

http://recon-mac.googlecode.com/files/recon_datamodel.png

I'd like to use a NSTableview to display a list of unique ports in a selected session. As you can see, the relationship between Session is a tiered two-many relationship.

I have NSArrayControllers bound to the MOC for Session, Host, and Port. The relationships are also configured correctly. ie. Other, simpler, view work great.

I've spent a few days playing with NSArrayControllers, fiddling with Content Array, Content Set, Content Object settings; tried understanding @distinctUnionOfSets and @distinctUnionOfArrays; but I've hit a wall.

So... how do I do it. I know the solution must be embarrassingly simple, but it's eluded me.


Best,

Sumanth P.

http://bafoontecha.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

This email sent to arch...@mail-archive.com

Reply via email to