• 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: Problem using filewrappers under snow leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using filewrappers under snow leopard


  • Subject: Re: Problem using filewrappers under snow leopard
  • From: Rob Keniger <email@hidden>
  • Date: Wed, 14 Oct 2009 15:05:42 +1000

On 14/10/2009, at 2:45 PM, Eagle Offshore wrote:

> See other message - it makes zero difference.


I had a problem saving file wrappers in 10.6 where an empty folder file wrapper would not save correctly. I still don't know why not.

I was able to diagnose it by making use of the new method in 10.6:

- (BOOL)writeToFile:(NSURL *)url options:(NSFileWrapperWritingOptions)options originalContentsURL:(NSURL*)originalContentsURL error:(NSError **)outError

The NSError that you get back from this method actually tells you what's going on. Using the 10.5 SDK there is no way to get the error.

It's probably worth compiling against the 10.6 SDK and using this method to diagnose the actual error.

--
Rob Keniger



_______________________________________________

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: Problem using filewrappers under snow leopard - SOLVED
      • From: Eagle Offshore <email@hidden>
References: 
 >Re: Problem using filewrappers under snow leopard (From: Gabriel Zachmann <email@hidden>)
 >Re: Problem using filewrappers under snow leopard (From: Eagle Offshore <email@hidden>)
 >Re: Problem using filewrappers under snow leopard (From: Graham Cox <email@hidden>)
 >Re: Problem using filewrappers under snow leopard (From: Eagle Offshore <email@hidden>)

  • Prev by Date: Re: Problem using filewrappers under snow leopard
  • Next by Date: Re: How to iterate over all objects stored with NSCoder
  • Previous by thread: Re: Problem using filewrappers under snow leopard
  • Next by thread: Re: Problem using filewrappers under snow leopard - SOLVED
  • Index(es):
    • Date
    • Thread