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 <idiotsavant2...@gmail.com>: > 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com