• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 'Prepare Content' not working for Object Controllers ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >'Prepare Content' not working for Object Controllers ? (From: Guillaume Laurent <email@hidden>)

  • Prev by Date: Re: Implementing 4 different view modes of finder
  • Next by Date: Re: renaming a file with special/reserved characters in name
  • Previous by thread: 'Prepare Content' not working for Object Controllers ?
  • Next by thread: Save As panel file types popup menu
  • Index(es):
    • Date
    • Thread