Re: Problem using filewrappers under snow leopard
Re: Problem using filewrappers under snow leopard
- Subject: Re: Problem using filewrappers under snow leopard
- From: Graham Cox <email@hidden>
- Date: Wed, 7 Oct 2009 11:47:55 +1100
On 07/10/2009, at 11:23 AM, Eagle Offshore wrote:
where fileWrappers is an NSMutableDictionary of filename->NSData's.
But that's not what the documentation says you should pass. The
dictionary should contain other NSFileWrappers keyed by their
preferred filenames, not NSData. That you got away with it in the past
is a fluke.
Initializes the receiver as a directory file wrapper, with a given
file-wrapper list.
- (id)initDirectoryWithFileWrappers:(NSDictionary *)
childrenByPreferredName
Parameters
childrenByPreferredName
Key-value dictionary of file wrappers with which to initialize the
receiver. The dictionary must contain entries whose values are the
file wrappers that are to become children and whose keys are
filenames. See Working With Directory Wrappers in Application File
Management for more information about the file-wrapper list structure.
Return Value
Initialized file wrapper for fileWrappers.
--Graham
_______________________________________________
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