On Feb 26, 2009, at 21:36 , Guillaume Laurent wrote:

I seem to be having a problem getting the 'Prepares Content' flag to work in the case of an NSObjectController.


Following up on this, I was pointed to the fact that :prepareContent does not actually create content, as I was expecting it to since NSArrayController:add can do so. The simplest solution is to derive NSObjectController and override :prepareContent to do the creation if needed.

--
Guillaume
http://telegraph-road.org





_______________________________________________

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