• 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: Setting up a UI where changes are only applied when OK clicked?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up a UI where changes are only applied when OK clicked?


  • Subject: Re: Setting up a UI where changes are only applied when OK clicked?
  • From: mmalc crawford <email@hidden>
  • Date: Wed, 11 Jul 2007 13:56:35 -0700


On Jul 11, 2007, at 1:00 PM, Sean McBride wrote:

I seem to remember something about making a duplicate moc that is
swapped/merged with the original when the OK button is pressed, but I
just can't find it in the archives/docs...
I will RTFM if someone could kindly point me there. :)

The pattern is illustrated in the Persistent Document tutorial:
<http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/08_CreationSheet/chapter_9_section_1.html >
although you'd have to adapt it slightly to editing an existing object (fetch the object in question into the new MOC, then apply changes to the existing MO).


mmalc

_______________________________________________

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: 
 >Setting up a UI where changes are only applied when OK clicked? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: [SOLVED] Is there a fast NSShadow alternative?
  • Next by Date: Re: Tracking the amount of inbound/outbound network traffic
  • Previous by thread: Re: Setting up a UI where changes are only applied when OK clicked?
  • Next by thread: Looking for cropping example
  • Index(es):
    • Date
    • Thread