• 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: CoreData and Bindings - a single, simple entity with bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData and Bindings - a single, simple entity with bindings


  • Subject: Re: CoreData and Bindings - a single, simple entity with bindings
  • From: Tom Birch <email@hidden>
  • Date: Mon, 2 May 2005 16:40:54 +1000


On 01/05/2005, at 18:59:49, Marcus Roberts wrote:


When I run the application created, the document window appears, with
two empty fields, but the document data is marked as needing to be
saved, as the red window close button has the dark dot in the middle.
If I type into each text field, then press Apple-Z to undo, the two
fields clear in turn, and then they become disabled with "No
Selection" written in them.


When you manually create object, you have to clear the undo manager, this will clear the "needs to be saved" indicator, and will also prevent undo from deleting the object.


See step 5 on this page, although going through the whole tutorial is probably a good idea:

http://developer.apple.com/documentation/Cocoa/Conceptual/ NSPersistentDocumentTutorial/04_Department/chapter_5_section_2.html

cheers,
Tom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >CoreData and Bindings - a single, simple entity with bindings (From: Marcus Roberts <email@hidden>)

  • Prev by Date: Re: Tiger gcc 4 builds apps that don't run on 10.2.8
  • Next by Date: Re: Selector not working for me
  • Previous by thread: Re: CoreData and Bindings - a single, simple entity with bindings
  • Next by thread: Re: Archiving's Future?
  • Index(es):
    • Date
    • Thread