• 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: NSPersistentDocument saving problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPersistentDocument saving problem


  • Subject: Re: NSPersistentDocument saving problem
  • From: mmalc crawford <email@hidden>
  • Date: Wed, 16 Jan 2008 14:30:55 -0800


On Jan 16, 2008, at 2:03 PM, Daniel Wambold wrote:

Hello. I have written a relatively simple NSPersistentDocument application that uses CoreData to keep track of clients and specific events belonging to a given client. For some reason, if I open a file (say, by double-clicking it in the Finder) and immediately press Apple-s to re-save it, the file becomes zero bytes (in the Finder) and is unreadable. However, if I click on the data in the table views (the clients, for example, which causes the event list to update in the adjacent table view), THEN press Apple-s, it saves properly. It even over-writes the zero-byte file with the correct data if I didn't quit in the interim.

<http://www.cocoabuilder.com/archive/message/cocoa/2007/11/2/192085>

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: 
 >NSPersistentDocument saving problem (From: Daniel Wambold <email@hidden>)

  • Prev by Date: Re: Has there been a Sketch App Update
  • Next by Date: Scroll view clip view not moving to new object inserted in contained NSCollectionView - when are resizing events in the view hierarchy complete?
  • Previous by thread: NSPersistentDocument saving problem
  • Next by thread: NSTableView: tableView:objectValueForTableColumn:row called more than necessary when scrolling
  • Index(es):
    • Date
    • Thread