• 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
Fwd: CoreData NSPersistentDocument Tutorial question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: CoreData NSPersistentDocument Tutorial question


  • Subject: Fwd: CoreData NSPersistentDocument Tutorial question
  • From: Alessandro Pistocchi <email@hidden>
  • Date: Wed, 12 Sep 2007 15:00:38 +0200



I am sorry, I am posting my questions again since I didn't get any answer. Please, tell me if they are not relevant or if there is something wrong with them.
Alessandro


Da: Alessandro Pistocchi <email@hidden>
Data: 11 settembre 2007 10:53:39 GMT+02:00
A: email@hidden
Oggetto: CoreData NSPersistentDocument Tutorial question

Hi everybody,
I am evaluating CoreData and I tried the NSPersistentDocument Tutorial. I found the bug with revert and I looked at your archives where it says basically to adopt the mediator pattern in order to get rid of that bug.
Is there another way, using the same strategy described in the tutorial (i.e. having an instance variable in the document) ?


Besides, I noticed that undo/redo has a bug when deleting or cutting entities: if I delete or cut some objects, and then perform undos until I get to the saved version of the document (or to the unsaved emtpy document if I started from an empty one), the window document changed status remains active.
This is not just an aesthetic anomaly: if I add some objects to the document, save the doc, delete something and perform undo, I find that the document changed is wrong.


It seems that the change count is 1 more than the correct value.

Did anybody notice the same? Is there a solution to it?

Thank you,
Alessandro

_______________________________________________

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: 
 >CoreData NSPersistentDocument Tutorial question (From: Alessandro Pistocchi <email@hidden>)

  • Prev by Date: CD-DA analysis
  • Next by Date: Re: Outline view spontaneously collapsing
  • Previous by thread: CoreData NSPersistentDocument Tutorial question
  • Next by thread: Re: CoreData NSPersistentDocument Tutorial question
  • Index(es):
    • Date
    • Thread