• 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: Force arrayController to remove immediately?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force arrayController to remove immediately?


  • Subject: Re: Force arrayController to remove immediately?
  • From: Ben Lachman <email@hidden>
  • Date: Sat, 16 Feb 2008 21:29:00 -0500


On Feb 16, 2008, at 3:31 PM, Justin Hawkwood wrote:

Run as is, the removed object is still included when updateTime is called. If I use the timer instead, in removeProfileEntry, then updateTime functions properly, but it creates a separate undo event, which I don't want.

You can always turn off undo registration for a block of time using NSUndoManager's disableUndoRegistration method (and its enable... companion). This would take care of the duplication of undo events.


->Ben
--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

email@hidden
_______________________________________________

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: 
 >Force arrayController to remove immediately? (From: Justin Hawkwood <email@hidden>)

  • Prev by Date: Re: Loading saved file into NSArrayController
  • Next by Date: Re: How to capture a selected rectangle of desktop
  • Previous by thread: Force arrayController to remove immediately?
  • Next by thread: Re: Force arrayController to remove immediately?
  • Index(es):
    • Date
    • Thread