• 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: Re NSController & undo handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re NSController & undo handling


  • Subject: Re: Re NSController & undo handling
  • From: Raphael Sebbe <email@hidden>
  • Date: Fri, 7 Nov 2003 09:52:11 +0100

No reply at this time. I am considering moving my code to NSController. Undo handling can be done at the model level in my opinion (set... methods). My understanding is that multiple set... form a single "action" whose name is managed by the controller layer. NSController subclassing may be needed for this... I have not had time so far to think about a solution...

I would appreciate it if people involved in the development of, or having more experience in, the Controller Layer could comment on this.

Raphael

On 07 Nov 2003, at 05:51, Steve Sheets wrote:

Raphael,
Did anyone reply to your posting regarding NSController & Undo handling? I am just starting to use NSController in some of my applications. It appears to me, that you can still support undo, if you place the undo code handling inside of the various set Data methods, wouldn't that work? I have taken some code that I had for OS X 1.0, and subclassed NSController class to a new class that has built in calls to handle simple Undo parsing...

Steve Sheets
Midnight Mage Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Does pserver work from Xcode?
  • Next by Date: Re: Does pserver work from Xcode?
  • Previous by thread: Re: Ascertaining the top line in a view
  • Next by thread: Controller Layer + array count + NSOutlineView
  • Index(es):
    • Date
    • Thread