Hi,

I'm setting up drag and drop for my NSOutlineView and I want to prevent parents 
being dropped on one of their children. The parent and children are all of the 
Group entity. I understand I need to do this in the outlineView:validatedrop 
method. I think I need to create an NSFetchRequest with the NSPredictate to get 
all the children of the parent, but I don't know what the predicate should be.

It should be recursively, so it should also get the children of children, if 
any.

Any suggestions?

Thanks,

- Koen._______________________________________________

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