• 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: NSDocument package saving invalidates wrapper? Options?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument package saving invalidates wrapper? Options?


  • Subject: Re: NSDocument package saving invalidates wrapper? Options?
  • From: Markus Spoettl <email@hidden>
  • Date: Sun, 02 Sep 2012 22:29:38 +0200

On 9/2/12 10:12 PM, Mike Abdullah wrote:
OK, thanks a lot for that tip. Even though I overwrote -setFileURL: for
some other task it never occurred to me to look if that's a better place.
Feels very natural actually. I find it extremely odd that the requirement
to update file wrapper isn't documented anywhere.

It seems the doc system assumes you generate the file wrapper afresh each
save.

Actually the Document Programming guide goes into details about file wrappers and talks about keeping them for faster IO:

http://developer.apple.com/library/mac/documentation/DataManagement/Conceptual/DocBasedAppProgrammingGuideForOSX/AdvancedTopics/AdvancedTopics.html#//apple_ref/doc/uid/TP40011179-CH7-SW10

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

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

  • Follow-Ups:
    • Re: NSDocument package saving invalidates wrapper? Options?
      • From: Mike Abdullah <email@hidden>
References: 
 >Re: NSDocument package saving invalidates wrapper? Options? (From: Mike Abdullah <email@hidden>)
 >Re: NSDocument package saving invalidates wrapper? Options? (From: Markus Spoettl <email@hidden>)
 >Re: NSDocument package saving invalidates wrapper? Options? (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Prevent display of PDF controls in a WebView
  • Next by Date: Seeking advice re: placement of UndoManager
  • Previous by thread: Re: NSDocument package saving invalidates wrapper? Options?
  • Next by thread: Re: NSDocument package saving invalidates wrapper? Options?
  • Index(es):
    • Date
    • Thread