Re: 'Prepare Content' not working for Object Controllers ?
Re: 'Prepare Content' not working for Object Controllers ?
- Subject: Re: 'Prepare Content' not working for Object Controllers ?
- From: Guillaume Laurent <email@hidden>
- Date: Sat, 28 Feb 2009 17:05:31 +0100
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 (email@hidden)
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:
This email sent to email@hidden