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

Undo/Redo Notifications


  • Subject: Undo/Redo Notifications
  • From: Gordon Apple <email@hidden>
  • Date: Sat, 22 May 2010 16:30:45 -0500
  • Thread-topic: Undo/Redo Notifications

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.

(MacOS usually does this when dropping a menu.  That doesn't work here.)




_______________________________________________

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

  • Follow-Ups:
    • Re: Undo/Redo Notifications
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: NSTokenField memory management issue
  • Next by Date: Re: Forcing NSImage to cache images at certain sizes
  • Previous by thread: NSTokenField memory management issue
  • Next by thread: Re: Undo/Redo Notifications
  • Index(es):
    • Date
    • Thread