• 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: Create a folder as a package/bundle ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create a folder as a package/bundle ...


  • Subject: Re: Create a folder as a package/bundle ...
  • From: Mic Pringle <email@hidden>
  • Date: Fri, 3 Apr 2009 12:06:27 +0100

Hi,

I did do some searching but it came up with nothing relevant. Perhaps
I was searching in the wrong place ?

Thanks for pointing out the example on Cocoa dev. However, it does not
show what I need. You see, in the code that gets the file attributes
to set on the folder, it uses this call ..

NSDictionary *attributes=[self fileAttributesToWriteToFile:newPath
                                                         ofType:docType
                                             saveOperation:saveType];

However, these is no code listing for fileAttributesToWriteToFile on
the page, and therefore I cannot see which attributes are getting set
?

Thanks

-Mic

2009/4/3 I. Savant <email@hidden>:
> On Apr 3, 2009, at 6:25 AM, Mic Pringle wrote:
>
>> How would one go about creating a folder that would appear to the
>> finder as a bundle/package ?
>
>  Have you searched the archives? The documentation? Google, perhaps? While
> no longer a *frequently* asked question, it's been asked countless times and
> there're even some examples on cocoadev.com and other places. Please search
> before posting.
>
>  Getting the appearance is as easy as flipping a switch when you declare
> your document types. Managing reading/writing the package is a bit more
> involved, but cocoadev's example works well. The format has to be just so in
> order for Finder to realize it's a package.
>
> http://www.cocoadev.com/index.pl?SavingFilePackageWithManySmallIndependentFiles
>
> --
> I.S.
>
>
_______________________________________________

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: Create a folder as a package/bundle ...
      • From: "I. Savant" <email@hidden>
References: 
 >Create a folder as a package/bundle ... (From: Mic Pringle <email@hidden>)
 >Re: Create a folder as a package/bundle ... (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Create a folder as a package/bundle ...
  • Next by Date: Re: Create a folder as a package/bundle ...
  • Previous by thread: Re: Create a folder as a package/bundle ...
  • Next by thread: Re: Create a folder as a package/bundle ...
  • Index(es):
    • Date
    • Thread