• 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: Undo/Redo Notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undo/Redo Notifications


  • Subject: Re: Undo/Redo Notifications
  • From: Gideon King <email@hidden>
  • Date: Sun, 23 May 2010 14:21:59 +1000

If you want to do something that the standard undo manager doesn't do, you could drop in GCUndoManager from http://apptree.net/gcundomanager.htm

I have been using it in my current project, and have found the ability to actually see what is going on in the undo stack a real boon, and of course with the source code right there, it would be easy to add a notification such as what you describe. I haven't encountered any problems using this replacement undo manager, and it has dramatically sped up my debugging of undo issues.

I'm using it in an OSX app, and have never done any iPhone programming, so don't know if there would be any issues using it in an iPhone app.

HTH

Gideon

On 23/05/2010, at 1:52 PM, Gordon Apple wrote:

>
>> On 22 May 2010, at 4:30 PM, Gordon Apple wrote:
>>
>>> So far, I don't see what I need for enabling/disabling undo/redo buttons in
>>> iPhoneOS NSUndoManager.  I want to implement an undo button/popover, a la
>>> Pages, for a UITextView.  I know I can read canUndo/canRedo, but I need an
>>> active notification when undo status changes in order to enable/disable the
>>> button and popover action buttons.  What is the best way to get this,
>>> preferably without subclassing UITextView?  Available notifications don't
>>> seem to be what I need.
>>>

_______________________________________________

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: 
 >Re: Undo/Redo Notifications (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Undo/Redo Notifications
  • Next by Date: nsprogressindicator change color
  • Previous by thread: Re: Undo/Redo Notifications
  • Next by thread: nsprogressindicator change color
  • Index(es):
    • Date
    • Thread