• 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: using Undo with portable C++ data model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using Undo with portable C++ data model


  • Subject: Re: using Undo with portable C++ data model
  • From: Erik Buck <email@hidden>
  • Date: Fri, 6 Jun 2008 22:52:21 -0400

There are many pure C++ applications in the world that implement undo. You don't have to use the Cocoa undo at all if portability is important. Implement undo in C++ using the Command pattern or whatever technique you want. Then integrate Cocoa GUI support via menu items etc. for invoking the C++ undo.

I realize the Cocoa provides snazzy undo/redo support that is difficult to mimic cleanly in C++. That's one reason many people like Objective-C and Cocoa.

The other alternative is to write your "portable" code in portable Objective-C.
_______________________________________________


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


  • Prev by Date: using Undo with portable C++ data model
  • Next by Date: Re: using Undo with portable C++ data model
  • Previous by thread: Re: using Undo with portable C++ data model
  • Next by thread: Learning Cocoa with RubyCocoa (was Regular Expressions)
  • Index(es):
    • Date
    • Thread