Hi Sumanth,

On 20/7/09, Sumanth Peddamatham <pedda...@gmail.com> wrote:
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.
I've never played with @distinctUnionOfSets nor 
@distinctUnionOfArrays.  I commend you for digging in.  And, 
what a great idea to make a jpeg of your model.
Until someone else gives you a better answer, let me suggest a 
low-tech technique.  Write a method on your Session class that 
returns the set or array that you want, then bind to that.
Hint 1, if you build a MutableSet you get (object-level) 
uniqueness for free.
Hint 2, if your Model is in a state of flux, consider using 
mogenerator for overriding your Model classes.
Cheers,

Steve Steinitz

_______________________________________________

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